fix: correct type mismatch in SetDoneFunc callback

Co-authored-by: aider (ollama_chat/gemma4:31b) <aider@aider.chat>
This commit is contained in:
2026-04-13 21:22:42 +02:00
parent 0ce268de35
commit 91081f047e

View File

@@ -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()