From d0dea1ff0c95600b8174903c240ed9db6229d381 Mon Sep 17 00:00:00 2001 From: Vuong Date: Thu, 11 Nov 2021 01:30:02 +0700 Subject: [PATCH] Remove binding key with shift --- cointop/keybindings.go | 7 ------- 1 file changed, 7 deletions(-) diff --git a/cointop/keybindings.go b/cointop/keybindings.go index dbf1616..89980f3 100644 --- a/cointop/keybindings.go +++ b/cointop/keybindings.go @@ -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 }