mirror of
https://github.com/kovidgoyal/kitty.git
synced 2026-08-04 14:46:03 +00:00
Fix infinite loop in send-text when stdin is a tty
This commit is contained in:
parent
ed2dae5884
commit
4a049b14ca
1 changed files with 1 additions and 0 deletions
|
|
@ -65,6 +65,7 @@ Do not send text to the active window, even if it is one of the matched windows.
|
|||
|
||||
def pipe() -> Generator[Dict, None, None]:
|
||||
if sys.stdin.isatty():
|
||||
ret['exclude_active'] = True
|
||||
import select
|
||||
fd = sys.stdin.fileno()
|
||||
keep_going = True
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue