diff --git a/main.go b/main.go index 702d490..15107db 100644 --- a/main.go +++ b/main.go @@ -55,7 +55,7 @@ func main() { SetFieldWidth(0) // Handle command execution - cmdInput.SetDoneFunc(func(key tcell.EventKey) { + cmdInput.SetDoneFunc(func(key tcell.Key) { text := cmdInput.GetText() if text == "q" || text == "quit" { app.Stop()