1
0
mirror of https://github.com/jesseduffield/lazygit.git synced 2025-06-17 00:18:05 +02:00

build: $ ./scripts/bump_gocui.sh

This commit is contained in:
Ryooooooga
2022-10-16 16:17:23 +09:00
parent 14ec0cd92e
commit 4aa9147dfa
38 changed files with 12516 additions and 209 deletions

View File

@ -611,6 +611,8 @@ func (g *Gui) WhitelistKeybinding(k Key) error {
// typed Key or rune.
func getKey(key interface{}) (Key, rune, error) {
switch t := key.(type) {
case nil: // Ignore keybinding if `nil`
return 0, 0, nil
case Key:
return t, 0, nil
case rune: