TUI exit corrupts terminal state for shells/apps
Cluster 19194 · hermes cli. Data as of
3 open items. Fix merged in #19589. Check it covers your case.
The short answer
- Known?
- Yes. 6 related items grouped here, 1 issue already closed.
- Fix event
- A fix was merged to main in PR #19589. Check it covers your case. No release data is tracked.
- Tracker
- The maintainers' tracker marks this
unresolved. That is separate from the fix event. - Still open
- 1 issue and 2 PRs.
Next step: read #19589, then check whether your report is one of the 1 still open.
Read #19589Pick up a Lab taskMultiple bug reports and fix attempts addressing the TUI leaving the terminal in a broken state after quitting, including leaked mouse/focus modes and kitty keyboard protocol sequences that corrupt subsequent shell or ncurses application behavior.
Open issues1
- Issue#56759[Bug]: TUI leaves terminal in corrupted state after clean /quit — breaks legacy ncurses apps (e.g. nano); survives stty sane and manual escape-sequence resets, requires full reset
Open PRs2
Fixes on record
-
#19589 fix(tui): restore terminal modes on all exit paths
files:
ui-tui/src/app/useMainApp.ts
1 PR closed without merging
From the close comments: merged via another change 1
-
#19210 fix(tui): restore terminal modes on all exit paths · merged via another change →
#19589
Closed issues · 1
- Closed#19194[Bug]: hermes leaves fish shell in a broken state after `/quit`
How this cluster was grouped
-
Link evidence (
partly structural links): some members are connected by structural evidence (shared changed files, or a closing/superseded reference); the rest are joined by an automated relevance judgement over their text. - Members outside that structural core may belong to a different underlying problem.
-
Pairwise link density
0.29: the share of item pairs that carry a link, counting a structural link in full and a relevance-only link at 0.36.1.00means every pair is linked.
Pick up a Lab task
Check whether a fix covers the open issues here, with your own agent. Bring back evidence for maintainers.
Open the LabAt a glance
- Subsystem
- hermes cli
- Merged PRs
- #19589
- Closed issues
- 1
- Attempts
- 1 PR closed without merging
- Fix link checked
- 4 May 2026