prepare for remake input handling, prepare other stuff
This commit is contained in:
@ -3,6 +3,12 @@
|
||||
class command():
|
||||
def __init__(self):
|
||||
pass
|
||||
def initialize(self, environment):
|
||||
return environment
|
||||
def shutdown(self, environment):
|
||||
return environment
|
||||
def getDescription(self):
|
||||
return ''
|
||||
def run(self, environment):
|
||||
if not environment['runtime']['settingsManager'].getSettingAsBool(environment, 'keyboard', 'interruptOnKeyPress'):
|
||||
return environment
|
||||
@ -17,5 +23,3 @@ class command():
|
||||
return environment
|
||||
def setCallback(self, callback):
|
||||
pass
|
||||
def shutdown(self):
|
||||
pass
|
||||
|
@ -3,6 +3,12 @@ import time
|
||||
class command():
|
||||
def __init__(self):
|
||||
pass
|
||||
def initialize(self, environment):
|
||||
return environment
|
||||
def shutdown(self, environment):
|
||||
return environment
|
||||
def getDescription(self):
|
||||
return ''
|
||||
def run(self, environment):
|
||||
# TTY Change
|
||||
if environment['screenData']['newTTY'] != environment['screenData']['oldTTY']:
|
||||
@ -26,5 +32,4 @@ class command():
|
||||
return environment
|
||||
def setCallback(self, callback):
|
||||
pass
|
||||
def shutdown(self):
|
||||
pass
|
||||
|
||||
|
@ -3,6 +3,12 @@
|
||||
class command():
|
||||
def __init__(self):
|
||||
pass
|
||||
def initialize(self, environment):
|
||||
return environment
|
||||
def shutdown(self, environment):
|
||||
return environment
|
||||
def getDescription(self):
|
||||
return ''
|
||||
def run(self, environment):
|
||||
if environment['screenData']['newTTY'] != environment['screenData']['oldTTY']:
|
||||
return environment
|
||||
@ -18,5 +24,4 @@ class command():
|
||||
return environment
|
||||
def setCallback(self, callback):
|
||||
pass
|
||||
def shutdown(self):
|
||||
pass
|
||||
|
||||
|
Reference in New Issue
Block a user