This commit is contained in:
Zachary Yedidia
2016-09-26 12:08:35 -04:00
parent 5cc66cef42
commit c1d08a6dc0

View File

@@ -266,7 +266,7 @@ modSearch:
case strings.HasPrefix(k, "-"):
// We optionally support dashes between modifiers
k = k[1:]
case strings.HasPrefix(k, "Ctrl") && !k == "CtrlH":
case strings.HasPrefix(k, "Ctrl") && k != "CtrlH":
// CtrlH technically does not have a 'Ctrl' modifier because it is really backspace
k = k[4:]
modifiers |= tcell.ModCtrl