ui: fix acc navigation shortcuts direction
parent
3415a382a1
commit
03b9641bc6
|
@ -360,7 +360,7 @@ impl Component for Listing {
|
|||
if let Some(key) = config_map.get("prev_folder") {
|
||||
(*key).clone()
|
||||
} else {
|
||||
Key::Char('J')
|
||||
Key::Char('K')
|
||||
},
|
||||
);
|
||||
map.insert(
|
||||
|
@ -368,7 +368,7 @@ impl Component for Listing {
|
|||
if let Some(key) = config_map.get("next_folder") {
|
||||
(*key).clone()
|
||||
} else {
|
||||
Key::Char('K')
|
||||
Key::Char('J')
|
||||
},
|
||||
);
|
||||
map.insert(
|
||||
|
@ -376,7 +376,7 @@ impl Component for Listing {
|
|||
if let Some(key) = config_map.get("prev_account") {
|
||||
(*key).clone()
|
||||
} else {
|
||||
Key::Char('h')
|
||||
Key::Char('l')
|
||||
},
|
||||
);
|
||||
map.insert(
|
||||
|
@ -384,7 +384,7 @@ impl Component for Listing {
|
|||
if let Some(key) = config_map.get("next_account") {
|
||||
(*key).clone()
|
||||
} else {
|
||||
Key::Char('l')
|
||||
Key::Char('h')
|
||||
},
|
||||
);
|
||||
map.insert("toggle-menu-visibility", Key::Char('`'));
|
||||
|
|
|
@ -82,10 +82,10 @@ impl Default for ListingShortcuts {
|
|||
ListingShortcuts {
|
||||
prev_page: Key::PageUp,
|
||||
next_page: Key::PageDown,
|
||||
prev_folder: Key::Char('J'),
|
||||
next_folder: Key::Char('K'),
|
||||
prev_account: Key::Char('h'),
|
||||
next_account: Key::Char('l'),
|
||||
prev_folder: Key::Char('K'),
|
||||
next_folder: Key::Char('J'),
|
||||
prev_account: Key::Char('l'),
|
||||
next_account: Key::Char('h'),
|
||||
new_mail: Key::Char('m'),
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue