From 7d1f84d1f7f276e286d890187fd8503592390c5b Mon Sep 17 00:00:00 2001 From: Will McGugan Date: Fri, 28 Jun 2024 17:39:22 +0100 Subject: [PATCH] bump read --- src/textual/drivers/linux_driver.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/textual/drivers/linux_driver.py b/src/textual/drivers/linux_driver.py index 0145bf29aa..41d19911ed 100644 --- a/src/textual/drivers/linux_driver.py +++ b/src/textual/drivers/linux_driver.py @@ -401,7 +401,7 @@ def process_selector_events( """ for last, (_selector_key, mask) in loop_last(selector_events): if mask & EVENT_READ: - unicode_data = decode(read(fileno, 1024), final=final and last) + unicode_data = decode(read(fileno, 1024 * 4), final=final and last) if not unicode_data: # This can occur if the stdin is piped break