keyboard echo
This commit is contained in:
parent
0410c33a08
commit
e020271908
@ -4,11 +4,9 @@ class command():
|
|||||||
def __init__(self):
|
def __init__(self):
|
||||||
pass
|
pass
|
||||||
def run(self, environment):
|
def run(self, environment):
|
||||||
print(environment['runtime']['settingsManager'].getSettingAsBool(environment, 'keyboard', 'charEcho') )
|
|
||||||
if not environment['runtime']['settingsManager'].getSettingAsBool(environment, 'keyboard', 'charEcho') and\
|
if not environment['runtime']['settingsManager'].getSettingAsBool(environment, 'keyboard', 'charEcho') and\
|
||||||
len(environment['screenData']['newDelta']) <= 2 and \
|
len(environment['screenData']['newDelta']) <= 2 and \
|
||||||
environment['screenData']['newCursor'] != environment['screenData']['oldCursor']:
|
environment['screenData']['newCursor'] != environment['screenData']['oldCursor']:
|
||||||
print('dri')
|
|
||||||
return environment
|
return environment
|
||||||
if environment['screenData']['newDelta'] == environment['screenData']['oldDelta'] and \
|
if environment['screenData']['newDelta'] == environment['screenData']['oldDelta'] and \
|
||||||
environment['screenData']['newTTY'] == environment['screenData']['oldTTY']:
|
environment['screenData']['newTTY'] == environment['screenData']['oldTTY']:
|
||||||
|
Loading…
Reference in New Issue
Block a user