Fix some responses from terminal sometimes leaking into shell on after kitten exit

Always do a roundtrip at kitten exit, except for special purpose
kittens. This slows down exit by one round trip time (capped at 2
seconds), however it ensures that we never get terminal response leak.

Fixes #9839
This commit is contained in:
Kovid Goyal
2026-04-10 15:14:38 +05:30
parent 4982173d3a
commit 5e158f90a7
12 changed files with 121 additions and 99 deletions

View File

@@ -237,6 +237,8 @@ Detailed list of changes
- A new option :opt:`macos_fullscreen_ignore_safe_area_insets` to control
whether to ignore the notch space when using :opt:`macos_traditional_fullscreen` (:pull:`9841`)
- Fix some responses from terminal sometimes leaking into shell on after kitten exit (:iss:`9839`)
0.46.2 [2026-03-21]
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~