add some other debugging

This commit is contained in:
Chrys 2022-02-22 20:23:52 +01:00
parent 12bfca24f5
commit 7b20c95309

View File

@ -19,7 +19,7 @@ class command():
def run(self): def run(self):
# enabled? # enabled?
active = self.env['runtime']['settingsManager'].getSettingAsInt('keyboard', 'charEchoMode') active = self.env['runtime']['settingsManager'].getSettingAsInt('keyboard', 'charEchoMode')
self.env['runtime']['debug'].writeDebugOut('charEchoMode: ' + str(active) + ' CAPS:' + str(self.env['input']['newCapsLock']),debug.debugLevel.INFO) self.env['runtime']['debug'].writeDebugOut('charEchoMode: ' + str(active) + ' CAPS:' + str(self.env['input']['newCapsLock'] == True),debug.debugLevel.INFO)
# 0 = off # 0 = off
if active == 0: if active == 0:
@ -50,6 +50,7 @@ class command():
currDelta.strip() != '': currDelta.strip() != '':
currDelta = currDelta.strip() currDelta = currDelta.strip()
self.env['runtime']['outputManager'].presentText(currDelta, interrupt=True, ignorePunctuation=True, announceCapital=True, flush=False) self.env['runtime']['outputManager'].presentText(currDelta, interrupt=True, ignorePunctuation=True, announceCapital=True, flush=False)
print(currDelta)
def setCallback(self, callback): def setCallback(self, callback):
pass pass