Added better support for contexts now and improved base Radarr UI

This commit is contained in:
2023-08-08 10:50:04 -06:00
parent 9276fb474d
commit d39acb0683
11 changed files with 407 additions and 153 deletions
+11 -1
View File
@@ -11,7 +11,9 @@ macro_rules! generate_keybindings {
generate_keybindings! {
quit,
up,
down
down,
submit,
esc
}
pub struct KeyBinding {
@@ -31,5 +33,13 @@ pub const DEFAULT_KEYBINDINGS: KeyBindings = KeyBindings {
down: KeyBinding {
key: Key::Down,
desc: "Scroll down"
},
submit: KeyBinding {
key: Key::Enter,
desc: "Select"
},
esc: KeyBinding {
key: Key::Esc,
desc: "Exit menu"
}
};