prepare for remake input handling, prepare other stuff

This commit is contained in:
chrys
2016-09-02 21:37:36 +02:00
parent 1998ca15e8
commit 7227f52ac7
81 changed files with 705 additions and 314 deletions

View File

@ -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

View File

@ -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

View File

@ -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