mirror of
https://github.com/ClementTsang/bottom.git
synced 2025-04-08 17:05:59 +02:00
Kill dialog: vim navigation (#134)
Add `hjkl` as navigation keys in kill dialog. Closes #133
This commit is contained in:
parent
2faf3c6592
commit
e850d3d2a8
@ -1012,6 +1012,12 @@ impl App {
|
||||
'j' | 'k' | 'g' | 'G' => self.handle_char(caught_char),
|
||||
_ => {}
|
||||
}
|
||||
} else if self.delete_dialog_state.is_showing_dd {
|
||||
match caught_char {
|
||||
'h' | 'j' => self.on_left_key(),
|
||||
'k' | 'l' => self.on_right_key(),
|
||||
_ => {}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user