mirror of
https://github.com/sst/opencode.git
synced 2025-08-22 05:54:08 +00:00
fix: remove extra newline after exiting editor
also deleted an extra binary that somehow got in
This commit is contained in:
parent
5d67e13df5
commit
243b262f65
2 changed files with 1 additions and 1 deletions
Binary file not shown.
|
@ -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) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue