From c42d94c465876b3dccfd4244b5efc15f2d3b8bf1 Mon Sep 17 00:00:00 2001 From: Kujtim Hoxha Date: Thu, 24 Apr 2025 13:01:32 +0200 Subject: small fixes --- internal/tui/components/chat/editor.go | 5 ----- 1 file changed, 5 deletions(-) (limited to 'internal/tui/components/chat/editor.go') diff --git a/internal/tui/components/chat/editor.go b/internal/tui/components/chat/editor.go index bb431053a..12ed3019f 100644 --- a/internal/tui/components/chat/editor.go +++ b/internal/tui/components/chat/editor.go @@ -116,11 +116,6 @@ func (m *editorCmp) Update(msg tea.Msg) (tea.Model, tea.Cmd) { } return m, openEditor() } - // if the key does not match any binding, return - if m.textarea.Focused() && key.Matches(msg, editorMaps.Send) { - return m, m.send() - } - // Handle Enter key if m.textarea.Focused() && key.Matches(msg, editorMaps.Send) { value := m.textarea.Value() -- cgit v1.2.3