From 4a049b14ca416d3847c291b9452bd6855379a64f Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Tue, 1 Dec 2020 12:29:03 +0530 Subject: [PATCH] Fix infinite loop in send-text when stdin is a tty --- kitty/rc/send_text.py | 1 + 1 file changed, 1 insertion(+) diff --git a/kitty/rc/send_text.py b/kitty/rc/send_text.py index a51e48b04..fe2fa9dcc 100644 --- a/kitty/rc/send_text.py +++ b/kitty/rc/send_text.py @@ -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