Skip to content

Commit

Permalink
chore: change trigger resource allocation input box keybind
Browse files Browse the repository at this point in the history
  • Loading branch information
RolandSherwin committed May 9, 2024
1 parent c253de6 commit 91f8dbe
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 12 deletions.
22 changes: 11 additions & 11 deletions node-launchpad/.config/config.json5
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"<Ctrl-g>": {"HomeActions":"StartNodes"},
"<Ctrl-G>": {"HomeActions":"StartNodes"},
"<Ctrl-x>": {"HomeActions":"StopNodes"},
"<Ctrl-X>": {"HomeActions":"StopNodes"},
"<Ctrl-X>": {"HomeActions":"StopNodes"},

"up" : {"HomeActions":"PreviousTableItem"},
"down": {"HomeActions":"NextTableItem"},
Expand All @@ -14,25 +14,25 @@

"<d>": {"HomeActions":"TriggerDiscordUsernameInputBox"},
"<D>": {"HomeActions":"TriggerDiscordUsernameInputBox"},
"<Ctrl-o>": {"HomeActions":"TriggerResourceAllocationInputBox"},
"<Ctrl-O>": {"HomeActions":"TriggerResourceAllocationInputBox"},
"<o>": {"HomeActions":"TriggerResourceAllocationInputBox"},
"<O>": {"HomeActions":"TriggerResourceAllocationInputBox"},

"<q>": "Quit",
"<Shift-q>": "Quit",
"<Q>": "Quit",
"<Ctrl-d>": "Quit",
"<Ctrl-c>": "Quit",
"<q>": "Quit",
"<Shift-q>": "Quit",
"<Q>": "Quit",
"<Ctrl-d>": "Quit",
"<Ctrl-c>": "Quit",
"<Ctrl-z>": "Suspend" // Suspend the application
},
"Options": {
"tab": {"TabActions":"NextTab"},
"<Shift-tab>": {"TabActions":"PreviousTab"},
"enter": {"SwitchInputMode":"Entry"},

"<q>": "Quit",
"<Shift-q>": "Quit",
"<q>": "Quit",
"<Shift-q>": "Quit",
"<Q>": "Quit",
"<Ctrl-d>": "Quit",
"<Ctrl-d>": "Quit",
"<Ctrl-c>": "Quit",
"<Ctrl-z>": "Suspend" // Suspend the application
}
Expand Down
2 changes: 1 addition & 1 deletion node-launchpad/src/components/footer.rs
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ impl Component for Footer {

let text: Cow<_> = match self.current_scene {
Scene::Home => {
"[Ctrl+g] Start nodes, [Ctrl+x] Stop node, [Ctrl+o] Set Resources, [D]iscord Username, [Q]uit".into()
"[Ctrl+g] Start nodes, [Ctrl+x] Stop node, [O] Set Resources, [D]iscord Username, [Q]uit".into()
}
Scene::Options => "none".into(),
Scene::DiscordUsernameInputBox => "⏎ Accept, [Esc] Cancel".into(),
Expand Down

0 comments on commit 91f8dbe

Please sign in to comment.