From dd29ee72886c34f807e8e22b87dfa5dd2d9251bd Mon Sep 17 00:00:00 2001 From: Jesse Duffield Date: Wed, 23 Sep 2020 19:49:41 +1000 Subject: [PATCH] convert to string in a better way because I'm pretty sure alpine needs it --- pkg/gui/keybindings.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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{} {