Remove binding key with shift

pull/263/head
Vuong 3 years ago
parent 955eb7dcef
commit d0dea1ff0c
No known key found for this signature in database
GPG Key ID: 9E32EEF440B0A5D4

@ -2,7 +2,6 @@ package cointop
import (
"strings"
"unicode"
"github.com/cointop-sh/cointop/pkg/gocui"
"github.com/gdamore/tcell/v2"
@ -270,12 +269,6 @@ func (ct *Cointop) SetKeybindingAction(shortcutKey string, action string) error
ct.SetKeybindingMod(key, mod, fn, view)
// Bind `shift+key` for uppercased character
r, isRune := key.(rune)
if isRune && unicode.IsUpper(r) {
ct.SetKeybindingMod(key, tcell.ModShift, fn, view)
}
return nil
}

Loading…
Cancel
Save