1
0
mirror of https://github.com/jesseduffield/lazygit.git synced 2025-06-25 00:46:54 +02:00

convert to string in a better way because I'm pretty sure alpine needs it

This commit is contained in:
Jesse Duffield
2020-09-23 19:49:41 +10:00
parent fe64f2f4c9
commit dd29ee7288

View File

@ -1,6 +1,7 @@
package gui package gui
import ( import (
"fmt"
"log" "log"
"strings" "strings"
@ -175,7 +176,7 @@ func GetKeyDisplay(key interface{}) string {
keyInt = int(key) keyInt = int(key)
} }
return string(keyInt) return fmt.Sprintf("%c", keyInt)
} }
func (gui *Gui) getKey(name string) interface{} { func (gui *Gui) getKey(name string) interface{} {