revert ctrl+d - conflicts with page down
This commit is contained in:
parent
0e035b3115
commit
c4ff8dd205
1 changed files with 0 additions and 5 deletions
|
|
@ -124,11 +124,6 @@ func (m *editorComponent) Update(msg tea.Msg) (tea.Model, tea.Cmd) {
|
||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
case "ctrl+d":
|
|
||||||
if m.textarea.Value() != "" {
|
|
||||||
return m, nil
|
|
||||||
}
|
|
||||||
return m, tea.Quit
|
|
||||||
case "shift+enter":
|
case "shift+enter":
|
||||||
value := m.textarea.Value()
|
value := m.textarea.Value()
|
||||||
m.textarea.SetValue(value + "\n")
|
m.textarea.SetValue(value + "\n")
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue