From 91081f047ec4ad5ff2cdde6108b4a8ba356e4d48 Mon Sep 17 00:00:00 2001 From: Eli Winderickx Date: Mon, 13 Apr 2026 21:22:42 +0200 Subject: [PATCH] fix: correct type mismatch in SetDoneFunc callback Co-authored-by: aider (ollama_chat/gemma4:31b) --- main.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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()