Skip to content

Commit

Permalink
bump read
Browse files Browse the repository at this point in the history
  • Loading branch information
willmcgugan committed Jun 28, 2024
1 parent bcd1335 commit 7d1f84d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/textual/drivers/linux_driver.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 7d1f84d

Please sign in to comment.