From 7b20c9530955ba300f5830751724b7e3d4a56fb1 Mon Sep 17 00:00:00 2001 From: Chrys Date: Tue, 22 Feb 2022 20:23:52 +0100 Subject: [PATCH] add some other debugging --- .../commands/onCursorChange/15000-char_echo.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/fenrirscreenreader/commands/onCursorChange/15000-char_echo.py b/src/fenrirscreenreader/commands/onCursorChange/15000-char_echo.py index 75866090..e703c6f4 100644 --- a/src/fenrirscreenreader/commands/onCursorChange/15000-char_echo.py +++ b/src/fenrirscreenreader/commands/onCursorChange/15000-char_echo.py @@ -19,7 +19,7 @@ class command(): def run(self): # enabled? 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 if active == 0: @@ -50,6 +50,7 @@ class command(): currDelta.strip() != '': currDelta = currDelta.strip() self.env['runtime']['outputManager'].presentText(currDelta, interrupt=True, ignorePunctuation=True, announceCapital=True, flush=False) + print(currDelta) def setCallback(self, callback): pass