diff options
Diffstat (limited to 'pkg/gui/keybindings.go')
-rw-r--r-- | pkg/gui/keybindings.go | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/pkg/gui/keybindings.go b/pkg/gui/keybindings.go index 382046fb3..31738a419 100644 --- a/pkg/gui/keybindings.go +++ b/pkg/gui/keybindings.go @@ -1,6 +1,7 @@ package gui import ( + "fmt" "log" "strings" @@ -175,7 +176,7 @@ func GetKeyDisplay(key interface{}) string { keyInt = int(key) } - return string(keyInt) + return fmt.Sprintf("%c", keyInt) } func (gui *Gui) getKey(name string) interface{} { |