diff options
| author | Kujtim Hoxha <[email protected]> | 2025-04-24 13:01:32 +0200 |
|---|---|---|
| committer | Kujtim Hoxha <[email protected]> | 2025-04-24 16:40:36 +0200 |
| commit | c42d94c465876b3dccfd4244b5efc15f2d3b8bf1 (patch) | |
| tree | d16e886ab605c616776bb97937eaddccbb6c1b1a /internal/tui/components/chat/editor.go | |
| parent | f879a94c95678592060b3ade1d78f69f18c5866e (diff) | |
| download | opencode-c42d94c465876b3dccfd4244b5efc15f2d3b8bf1.tar.gz opencode-c42d94c465876b3dccfd4244b5efc15f2d3b8bf1.zip | |
small fixes
Diffstat (limited to 'internal/tui/components/chat/editor.go')
| -rw-r--r-- | internal/tui/components/chat/editor.go | 5 |
1 files changed, 0 insertions, 5 deletions
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() |
