From 2d063546a87b14353584d16fbbf875eb0afc0fb6 Mon Sep 17 00:00:00 2001 From: Stephen Boddy Date: Wed, 1 Feb 2017 08:55:54 +0100 Subject: [PATCH] Fix keybindings that use the shift modifier --- terminatorlib/keybindings.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/terminatorlib/keybindings.py b/terminatorlib/keybindings.py index d2680b32..ca2b75bd 100644 --- a/terminatorlib/keybindings.py +++ b/terminatorlib/keybindings.py @@ -82,9 +82,8 @@ class Keybindings: mask &= ~Gdk.ModifierType.SHIFT_MASK else: keyvals = Gdk.keyval_convert_case(keyval) - if keyvals[0] != keyvals[1]: - keyval = keyvals[1] - mask &= ~Gdk.ModifierType.SHIFT_MASK + keyval = keyvals[1] + mask &= ~Gdk.ModifierType.SHIFT_MASK else: keyval = Gdk.keyval_to_lower(keyval) self._lookup.setdefault(mask, {})