From 27febfc6cb0016782714755031c3d5220278a113 Mon Sep 17 00:00:00 2001 From: Stephen Boddy Date: Thu, 2 Feb 2017 17:04:14 +0100 Subject: [PATCH] Revert 1709 for now. It breaks other keyboard actions --- terminatorlib/keybindings.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/terminatorlib/keybindings.py b/terminatorlib/keybindings.py index ca2b75bd..d2680b32 100644 --- a/terminatorlib/keybindings.py +++ b/terminatorlib/keybindings.py @@ -82,8 +82,9 @@ class Keybindings: mask &= ~Gdk.ModifierType.SHIFT_MASK else: keyvals = Gdk.keyval_convert_case(keyval) - keyval = keyvals[1] - mask &= ~Gdk.ModifierType.SHIFT_MASK + if keyvals[0] != keyvals[1]: + keyval = keyvals[1] + mask &= ~Gdk.ModifierType.SHIFT_MASK else: keyval = Gdk.keyval_to_lower(keyval) self._lookup.setdefault(mask, {})