Add Enter variant to Action in text::Editor
This commit is contained in:
parent
6448429103
commit
1455911b63
3 changed files with 3 additions and 0 deletions
|
|
@ -425,6 +425,7 @@ impl Update {
|
|||
keyboard::KeyCode::Down => {
|
||||
Some(Self::Edit(Action::MoveDown))
|
||||
}
|
||||
keyboard::KeyCode::Enter => Some(Self::Edit(Action::Enter)),
|
||||
keyboard::KeyCode::Backspace => {
|
||||
Some(Self::Edit(Action::Backspace))
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue