Replies: 1 comment 1 reply
-
|
What protocol are you checking for? |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Currently, Textual has its driver automatically create a thread to continuously read from
stdin.This means that when you want to send and receive an escape sequence for checking a protocol's availability, you have to do it before the app initialises, causing a bit of lag due to eager loading.
Suggestion: Implement a
threading.Lockintextual.app.Appthat can be used as a context manager to prevent the thread from stealingstdinExample:
Beta Was this translation helpful? Give feedback.
All reactions