diff --git a/packages/tui/cmd/opencode/opencode b/packages/tui/cmd/opencode/opencode deleted file mode 100755 index d13ced3e..00000000 Binary files a/packages/tui/cmd/opencode/opencode and /dev/null differ diff --git a/packages/tui/internal/components/chat/editor.go b/packages/tui/internal/components/chat/editor.go index 67f1f75e..691cc6a2 100644 --- a/packages/tui/internal/components/chat/editor.go +++ b/packages/tui/internal/components/chat/editor.go @@ -408,7 +408,7 @@ func (m *editorComponent) SetInterruptKeyInDebounce(inDebounce bool) { } func (m *editorComponent) SetValue(value string) { - m.textarea.SetValue(value) + m.textarea.SetValue(strings.TrimSuffix(value, "\n")) } func (m *editorComponent) SetExitKeyInDebounce(inDebounce bool) {