[orca] Prevent double-echoing of typed characters
- From: Joanmarie Diggs <joanied src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [orca] Prevent double-echoing of typed characters
- Date: Mon, 9 Jul 2018 15:24:16 +0000 (UTC)
commit 7bab532e3447270c2d50236bd0b9f735db7a2015
Author: Joanmarie Diggs <jdiggs igalia com>
Date: Mon Jul 9 11:23:19 2018 -0400
Prevent double-echoing of typed characters
src/orca/scripts/terminal/script_utilities.py | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/orca/scripts/terminal/script_utilities.py b/src/orca/scripts/terminal/script_utilities.py
index 6258a41db..961c6b254 100644
--- a/src/orca/scripts/terminal/script_utilities.py
+++ b/src/orca/scripts/terminal/script_utilities.py
@@ -192,8 +192,8 @@ class Utilities(script_utilities.Utilities):
return re.search(r"[^\d\s]", event.any_data)
if mods & keybindings.ALT_MODIFIER_MASK:
return True
- if len(event.any_data) > 1 and self.lastInputEventWasPrintableKey():
- return True
+ if self.lastInputEventWasPrintableKey():
+ return len(event.any_data) > 1
if self.insertionEndsAtCaret(event):
return True
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]