Commit Graph
4 Commits
Author SHA1 Message Date
roboompandcan1357 313f3fa1c4 fix(tui): prevented Windows pane-close deadlock
Skipped stdout draining after ProcessTerminal observes a native Windows terminal disconnect, while preserving normal postmortem cleanup and drain behavior for every other shutdown path.

Fixes #6917

(cherry picked from commit b45fc00ab4b5075ccb9650584947dde061beea20)
2026-07-29 23:08:31 +02:00
roboomp 09b43b7581 fix(tui): exited when terminal disconnected
Stopped the renderer when stdin closes or stdout fails, then raised SIGHUP so registered session cleanup completes before exit.

Fixes #5835
2026-07-17 11:53:11 +00:00
can1357 2aee4bd3f7 fix(tui): applied DEC 2048 resize reports with colon subparameters
The mode 2048 in-band resize spec permits `:`-separated subparameters
on any field and requires clients to ignore them. The parser rejected
such reports outright (and the split-reassembly prefix pattern dropped
fragmented ones as garbage), so the grow-back report after an iOS soft
keyboard dismissal under tmux-over-SSH never applied: rows stayed
pinned at the keyboard-present height, with no accompanying OS resize
event to reconcile the cached in-band geometry.

Capture the leading digits of each field and skip the subparameter
tail; accept `:` in the reassembly prefix so split reports complete
instead of leaking their tails into the editor as keystrokes.

Fixes #4748
2026-07-09 18:27:21 +02:00
can1357 4e8fa1672f test(tui): added regression coverage for process terminal reflow and scrollback behavior
- Added a deterministic ProcessTerminal render harness with real TUI and resize simulation.
- Added reflow tests for OS resize fallback, in-band precedence, and split in-band parsing.
- Added a regression test ensuring stale live-region rows are cleared after rerender.
- Removed the duplicate in-band authority assertion from terminal-appearance tests.
2026-06-05 21:06:06 +02:00