Testing fixes for security improvement, thread safety, and memory management.

This commit is contained in:
Storm Dragon
2025-06-09 14:41:33 -04:00
parent 62e1001679
commit 6998706934
7 changed files with 19 additions and 10 deletions

View File

@ -36,7 +36,8 @@ class driver(screenDriver):
self.hichar = None
try:
# set workaround for paste clipboard -> injectTextToScreen
os.system('sysctl dev.tty.legacy_tiocsti=1')
subprocess.run(['sysctl', 'dev.tty.legacy_tiocsti=1'],
check=False, capture_output=True, timeout=5)
except:
pass
def initialize(self, environment):