diff options
| author | Gabriel Schneider <[email protected]> | 2026-10-01 04:57:43 -0300 |
|---|---|---|
| committer | Gabriel Schneider <[email protected]> | 2026-10-01 04:57:43 -0300 |
| commit | 0c3cf0628adf9e22270b09d9c451b08ac07f558a (patch) | |
| tree | c8034581e1c465056a5e5e32cb0fd15242178674 /src/vaxis_input.zig | |
| parent | 2488df529cde2994c37f385cefca4db1837ed9a3 (diff) | |
| download | pardes-0c3cf0628adf9e22270b09d9c451b08ac07f558a.tar.gz pardes-0c3cf0628adf9e22270b09d9c451b08ac07f558a.zip | |
A shell's prompt drawn on the alternate screen is a prompt: a terminal whose program was killed there is no longer busy for ever
htop killed with `sig KILL` leaves the emulator on its alternate screen;
bash comes back and draws its prompt there, marks and all, but
promptInputReady refused any prompt on the alternate screen, so
pty/status said busy 1 and pty/run answered a bare `busy` for good.
A prompt mark there now counts. A run sent at such a prompt leaves the
alternate screen in the emulator first, as a reused command pane does,
so its output lands on the primary screen and is read whole, not
`exit 0 cut` with nothing. Busy there with no prompt drawn, and no
program name to give, a run is told `busy alternate screen`.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Diffstat (limited to 'src/vaxis_input.zig')
0 files changed, 0 insertions, 0 deletions
