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:
@ -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{} {
|
||||||
|
Reference in New Issue
Block a user