mirror of
https://github.com/lowobservable/oec.git
synced 2026-05-01 13:56:53 +00:00
Refactor run loop to improve perceived terminal responsiveness
This commit is contained in:
@@ -81,6 +81,9 @@ class TN3270Session(Session):
|
||||
|
||||
self.emulator = None
|
||||
|
||||
def fileno(self):
|
||||
return self.emulator.stream.socket.fileno()
|
||||
|
||||
def handle_host(self):
|
||||
try:
|
||||
if not self.emulator.update(timeout=0):
|
||||
|
||||
Reference in New Issue
Block a user