Environment:
- OS: macOS (Intel, 10.15.7)
- Hermes: v0.12.0 (2026.4.30)
- Python: 3.11.15
- Terminal: macOS Terminal.app
Steps to reproduce:
1. Start hermes in Terminal.app
2. Resize the terminal window by any method — mouse drag, Command+=, or Command+Shift+=
Actual behavior:
- The status bar line duplicates itself
- Dozens of blank lines flood the terminal
- The input area shifts down repeatedly
- The UI becomes unusable until the session is restarted with /clear
Expected behavior:
- Terminal content reflows smoothly on resize
- No duplication or blank lines
Technical note:
Likely a prompt_toolkit SIGWINCH handler issue — the layout invalidation during resize may not be atomic, causing rendering races. Suggested fix: ensure app.invalidate() is called and layout cache is cleared atomically on SIGWINCH.
Severity:
Cosmetic but impacts every resize operation, which is high-frequency on macOS.