Implement Home/End
This commit is contained in:
parent
369c265646
commit
c29eed3a94
3 changed files with 27 additions and 0 deletions
|
|
@ -239,6 +239,14 @@ where
|
|||
buffer.action(TextAction::Delete);
|
||||
return Status::Captured;
|
||||
},
|
||||
KeyCode::Home => {
|
||||
buffer.action(TextAction::Home);
|
||||
return Status::Captured;
|
||||
},
|
||||
KeyCode::End => {
|
||||
buffer.action(TextAction::End);
|
||||
return Status::Captured;
|
||||
},
|
||||
KeyCode::PageUp => {
|
||||
buffer.action(TextAction::PageUp);
|
||||
return Status::Captured;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue