mirror of
https://github.com/jesseduffield/lazygit.git
synced 2026-09-10 15:46:26 -04:00
convert to string in a better way because I'm pretty sure alpine needs it
This commit is contained in:
parent
fe64f2f4c9
commit
dd29ee7288
|
|
@ -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{} {
|
||||
|
|
|
|||
Loading…
Reference in a new issue