Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions src/handlers/common_key_events.rs
Original file line number Diff line number Diff line change
Expand Up @@ -17,14 +17,14 @@ pub fn up_event(key: Key) -> bool {

pub fn left_event(key: Key) -> bool {
match key {
Key::Left | Key::Char('h') => true,
Key::Left | Key::Char('h') | Key::Ctrl('b') => true,
_ => false,
}
}

pub fn right_event(key: Key) -> bool {
match key {
Key::Right | Key::Char('l') => true,
Key::Right | Key::Char('l') | Key::Ctrl('f') => true,
_ => false,
}
}
Expand Down