internal/ui: refactoring: reduce global functions and prefer Get()

This commit is contained in:
Hajime Hoshi
2023-10-15 00:06:07 +09:00
parent 69f1fa5f29
commit 27fd10595b
30 changed files with 226 additions and 214 deletions
+1 -1
View File
@@ -61,7 +61,7 @@ func (u *UserInterface) updateInputState() error {
return nil
}
func KeyName(key Key) string {
func (u *UserInterface) KeyName(key Key) string {
// TODO: Implement this.
return ""
}