Backspace to go back, fixes #267

This commit is contained in:
Jeremy Soller 2024-09-25 15:36:22 -06:00
parent 5a3c63df17
commit b91088482b
No known key found for this signature in database
GPG key ID: D02FD439211AF56F

View file

@ -29,6 +29,7 @@ pub fn key_binds() -> HashMap<KeyBind, Action> {
bind!([Ctrl], Key::Character("l".into()), EditLocation);
bind!([Alt], Key::Named(Named::ArrowRight), HistoryNext);
bind!([Alt], Key::Named(Named::ArrowLeft), HistoryPrevious);
bind!([], Key::Named(Named::Backspace), HistoryPrevious);
// Catch arrow keys
bind!([], Key::Named(Named::ArrowDown), ItemDown);
bind!([], Key::Named(Named::ArrowLeft), ItemLeft);