mirror of
https://github.com/kovidgoyal/kitty.git
synced 2026-06-19 21:55:13 +00:00
Fix garbage removal pafter SSH failure not working on macOS when run more than once
This commit is contained in:
parent
e8437fd435
commit
6057c57ea4
1 changed files with 0 additions and 1 deletions
|
|
@ -516,7 +516,6 @@ def drain_potential_tty_garbage(p: 'subprocess.Popen[bytes]', data_request: str)
|
|||
# discard queued input data on tty in case data transmission was
|
||||
# interrupted due to SSH failure, avoids spewing garbage to
|
||||
# screen
|
||||
termios.tcflush(tty.fileno(), termios.TCIFLUSH)
|
||||
data = b''
|
||||
give_up_at = time.monotonic() + 1
|
||||
tty_fd = tty.fileno()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue