fix(tui): editor: make sure we update the textarea after closing the editor
commit3ec5d0178209658b9dcc8154419416eb5e50db80
authorAyman Bagabas <ayman.bagabas@gmail.com>
dateThu 10 Jul 2025, 11:46 (1 year ago)
parent8e38daa
internal/tui/components/chat/editor/editor.go−1
@@ -187,7 +187,6 @@ func (m *editorCmp) Update(msg tea.Msg) (tea.Model, tea.Cmd) {
187187 }
188188 case openEditorMsg:
189189 m.textarea.SetValue(msg.Text)
190− return m, nil
191190 case tea.KeyPressMsg:
192191 switch {
193192 // Completions