mirror of
https://github.com/aljazceru/opencode.git
synced 2025-12-28 05:04:23 +01:00
revert ctrl+d - conflicts with page down
This commit is contained in:
@@ -124,11 +124,6 @@ func (m *editorComponent) Update(msg tea.Msg) (tea.Model, tea.Cmd) {
|
||||
return nil
|
||||
}
|
||||
}
|
||||
case "ctrl+d":
|
||||
if m.textarea.Value() != "" {
|
||||
return m, nil
|
||||
}
|
||||
return m, tea.Quit
|
||||
case "shift+enter":
|
||||
value := m.textarea.Value()
|
||||
m.textarea.SetValue(value + "\n")
|
||||
|
||||
Reference in New Issue
Block a user