From 63a32a4306783944bdeb67fab9841738ac0692ca Mon Sep 17 00:00:00 2001 From: chrys Date: Tue, 27 Sep 2016 23:28:30 +0200 Subject: [PATCH] fix arrowing --- config/settings/settings.conf | 8 ++++---- .../54000-present_char_if_cursor_change_horizontal.py | 3 +-- .../onScreenChanged/80000-screen_change_announcement.py | 2 +- 3 files changed, 6 insertions(+), 7 deletions(-) diff --git a/config/settings/settings.conf b/config/settings/settings.conf index 9c2a8a2d..448bd691 100644 --- a/config/settings/settings.conf +++ b/config/settings/settings.conf @@ -69,7 +69,7 @@ layout=en driver=linux encoding=cp850 screenUpdateDelay=0.4 -suspendingScreen=1,2 +suspendingScreen= autodetectSuspendingScreen=False [keyboard] @@ -79,13 +79,13 @@ device=all grabDevices=True ignoreShortcuts=False # the current shortcut layout located in /etc/fenrir/keyboard -keyboardLayout=desktop +keyboardLayout=test # echo chars while typing. -charEcho=False +charEcho=True # echo deleted chars charDeleteEcho=True # echo word after pressing space -wordEcho=False +wordEcho=True # interrupt speech on any keypress interruptOnKeyPress=False # timeout for double tap in sec diff --git a/src/fenrir-package/commands/onInput/54000-present_char_if_cursor_change_horizontal.py b/src/fenrir-package/commands/onInput/54000-present_char_if_cursor_change_horizontal.py index 0f395316..90954709 100644 --- a/src/fenrir-package/commands/onInput/54000-present_char_if_cursor_change_horizontal.py +++ b/src/fenrir-package/commands/onInput/54000-present_char_if_cursor_change_horizontal.py @@ -17,8 +17,7 @@ class command(): return '' def run(self): - if not self.env['runtime']['inputManager'].noKeyPressed(): - return + if self.env['screenData']['newTTY'] != self.env['screenData']['oldTTY']: return if self.env['runtime']['inputManager'].noKeyPressed(): diff --git a/src/fenrir-package/commands/onScreenChanged/80000-screen_change_announcement.py b/src/fenrir-package/commands/onScreenChanged/80000-screen_change_announcement.py index 69f56275..39b473bd 100644 --- a/src/fenrir-package/commands/onScreenChanged/80000-screen_change_announcement.py +++ b/src/fenrir-package/commands/onScreenChanged/80000-screen_change_announcement.py @@ -18,7 +18,7 @@ class command(): def run(self): self.env['runtime']['outputManager'].presentText("screen " + str(self.env['screenData']['newTTY']),soundIcon='ChangeTTY', interrupt=True) - self.env['runtime']['outputManager'].presentText(self.env['screenData']['newDelta'], interrupt=False) + self.env['runtime']['outputManager'].presentText(self.env['screenData']['newContentText'], interrupt=False) def setCallback(self, callback): pass