mirror of
https://github.com/kovidgoyal/kitty
synced 2026-06-12 11:39:33 +02:00
Fix infinite loop in send-text when stdin is a tty
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user