Fix ctrl modifiers

This commit is contained in:
Zachary Yedidia
2016-05-20 09:41:00 -04:00
parent 3d6eba376d
commit 009792b6b1

View File

@@ -181,38 +181,38 @@ func InitBindings() {
"F62": Key{tcell.KeyF62, tcell.ModNone},
"F63": Key{tcell.KeyF63, tcell.ModNone},
"F64": Key{tcell.KeyF64, tcell.ModNone},
"CtrlSpace": Key{tcell.KeyCtrlSpace, tcell.ModNone},
"CtrlA": Key{tcell.KeyCtrlA, tcell.ModNone},
"CtrlB": Key{tcell.KeyCtrlB, tcell.ModNone},
"CtrlC": Key{tcell.KeyCtrlC, tcell.ModNone},
"CtrlD": Key{tcell.KeyCtrlD, tcell.ModNone},
"CtrlE": Key{tcell.KeyCtrlE, tcell.ModNone},
"CtrlF": Key{tcell.KeyCtrlF, tcell.ModNone},
"CtrlG": Key{tcell.KeyCtrlG, tcell.ModNone},
"CtrlH": Key{tcell.KeyCtrlH, tcell.ModNone},
"CtrlI": Key{tcell.KeyCtrlI, tcell.ModNone},
"CtrlJ": Key{tcell.KeyCtrlJ, tcell.ModNone},
"CtrlK": Key{tcell.KeyCtrlK, tcell.ModNone},
"CtrlL": Key{tcell.KeyCtrlL, tcell.ModNone},
"CtrlM": Key{tcell.KeyCtrlM, tcell.ModNone},
"CtrlN": Key{tcell.KeyCtrlN, tcell.ModNone},
"CtrlO": Key{tcell.KeyCtrlO, tcell.ModNone},
"CtrlP": Key{tcell.KeyCtrlP, tcell.ModNone},
"CtrlQ": Key{tcell.KeyCtrlQ, tcell.ModNone},
"CtrlR": Key{tcell.KeyCtrlR, tcell.ModNone},
"CtrlS": Key{tcell.KeyCtrlS, tcell.ModNone},
"CtrlT": Key{tcell.KeyCtrlT, tcell.ModNone},
"CtrlU": Key{tcell.KeyCtrlU, tcell.ModNone},
"CtrlV": Key{tcell.KeyCtrlV, tcell.ModNone},
"CtrlW": Key{tcell.KeyCtrlW, tcell.ModNone},
"CtrlX": Key{tcell.KeyCtrlX, tcell.ModNone},
"CtrlY": Key{tcell.KeyCtrlY, tcell.ModNone},
"CtrlZ": Key{tcell.KeyCtrlZ, tcell.ModNone},
"CtrlLeftSq": Key{tcell.KeyCtrlLeftSq, tcell.ModNone},
"CtrlBackslash": Key{tcell.KeyCtrlBackslash, tcell.ModNone},
"CtrlRightSq": Key{tcell.KeyCtrlRightSq, tcell.ModNone},
"CtrlCarat": Key{tcell.KeyCtrlCarat, tcell.ModNone},
"CtrlUnderscore": Key{tcell.KeyCtrlUnderscore, tcell.ModNone},
"CtrlSpace": Key{tcell.KeyCtrlSpace, tcell.ModCtrl},
"CtrlA": Key{tcell.KeyCtrlA, tcell.ModCtrl},
"CtrlB": Key{tcell.KeyCtrlB, tcell.ModCtrl},
"CtrlC": Key{tcell.KeyCtrlC, tcell.ModCtrl},
"CtrlD": Key{tcell.KeyCtrlD, tcell.ModCtrl},
"CtrlE": Key{tcell.KeyCtrlE, tcell.ModCtrl},
"CtrlF": Key{tcell.KeyCtrlF, tcell.ModCtrl},
"CtrlG": Key{tcell.KeyCtrlG, tcell.ModCtrl},
"CtrlH": Key{tcell.KeyCtrlH, tcell.ModCtrl},
"CtrlI": Key{tcell.KeyCtrlI, tcell.ModCtrl},
"CtrlJ": Key{tcell.KeyCtrlJ, tcell.ModCtrl},
"CtrlK": Key{tcell.KeyCtrlK, tcell.ModCtrl},
"CtrlL": Key{tcell.KeyCtrlL, tcell.ModCtrl},
"CtrlM": Key{tcell.KeyCtrlM, tcell.ModCtrl},
"CtrlN": Key{tcell.KeyCtrlN, tcell.ModCtrl},
"CtrlO": Key{tcell.KeyCtrlO, tcell.ModCtrl},
"CtrlP": Key{tcell.KeyCtrlP, tcell.ModCtrl},
"CtrlQ": Key{tcell.KeyCtrlQ, tcell.ModCtrl},
"CtrlR": Key{tcell.KeyCtrlR, tcell.ModCtrl},
"CtrlS": Key{tcell.KeyCtrlS, tcell.ModCtrl},
"CtrlT": Key{tcell.KeyCtrlT, tcell.ModCtrl},
"CtrlU": Key{tcell.KeyCtrlU, tcell.ModCtrl},
"CtrlV": Key{tcell.KeyCtrlV, tcell.ModCtrl},
"CtrlW": Key{tcell.KeyCtrlW, tcell.ModCtrl},
"CtrlX": Key{tcell.KeyCtrlX, tcell.ModCtrl},
"CtrlY": Key{tcell.KeyCtrlY, tcell.ModCtrl},
"CtrlZ": Key{tcell.KeyCtrlZ, tcell.ModCtrl},
"CtrlLeftSq": Key{tcell.KeyCtrlLeftSq, tcell.ModCtrl},
"CtrlBackslash": Key{tcell.KeyCtrlBackslash, tcell.ModCtrl},
"CtrlRightSq": Key{tcell.KeyCtrlRightSq, tcell.ModCtrl},
"CtrlCarat": Key{tcell.KeyCtrlCarat, tcell.ModCtrl},
"CtrlUnderscore": Key{tcell.KeyCtrlUnderscore, tcell.ModCtrl},
"Backspace": Key{tcell.KeyBackspace, tcell.ModNone},
"Tab": Key{tcell.KeyTab, tcell.ModNone},
"Esc": Key{tcell.KeyEsc, tcell.ModNone},