From 22c1ee7dc8afc290a138e36c859e19ec187e4cda Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Thu, 24 Feb 2022 00:31:01 +0530 Subject: [PATCH] Cannot call the parser from callbacks that are themselves called from the parser --- kitty_tests/__init__.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/kitty_tests/__init__.py b/kitty_tests/__init__.py index 9e0b3a41d..f344754cd 100644 --- a/kitty_tests/__init__.py +++ b/kitty_tests/__init__.py @@ -99,14 +99,12 @@ class Callbacks: if self.pty: for line in get_ssh_data(msg): self.pty.write_to_child(line) - self.pty.process_input_from_child(timeout=0) def handle_remote_echo(self, msg): from base64 import standard_b64decode if self.pty: data = standard_b64decode(msg) self.pty.write_to_child(data) - self.pty.process_input_from_child(timeout=0) def filled_line_buf(ynum=5, xnum=5, cursor=Cursor()):