From 3ec5d0178209658b9dcc8154419416eb5e50db80 Mon Sep 17 00:00:00 2001 From: Ayman Bagabas Date: Thu, 10 Jul 2025 11:46:51 -0400 Subject: [PATCH] fix(tui): editor: make sure we update the textarea after closing the editor --- internal/tui/components/chat/editor/editor.go | 1 - 1 file changed, 1 deletion(-) diff --git a/internal/tui/components/chat/editor/editor.go b/internal/tui/components/chat/editor/editor.go index 272ef2f8f78020a16e88e5eac73756ea8473fe4b..952dfda51f2423b891f0bacce8fea7f788249deb 100644 --- a/internal/tui/components/chat/editor/editor.go +++ b/internal/tui/components/chat/editor/editor.go @@ -187,7 +187,6 @@ func (m *editorCmp) Update(msg tea.Msg) (tea.Model, tea.Cmd) { } case openEditorMsg: m.textarea.SetValue(msg.Text) - return m, nil case tea.KeyPressMsg: switch { // Completions