refactor: Move gEscapeCode to where it is used (#2285)

This commit is contained in:
Joe Lim authored and GitHub committed 2025-12-02 18:23:11 +11:00
1 parent 4ee121fb56
commit 6402bafb9a
2 files changed
+6 -6

No files matched your search

-2
View File
@@ -22,8 +22,6 @@ import (
"golang.org/x/term"
)
const gEscapeCode = 27
var gKeyVal = map[tcell.Key]string{
tcell.KeyEnter: "<enter>",
tcell.KeyBackspace: "<backspace>",