add "?" to see help

Signed-off-by: mohammad hashemy <smhd.hashemy@outlook.com>
This commit is contained in:
mohammad hashemy 2022-07-07 17:56:05 +04:30
parent 6b1b9f8142
commit 3e049046f7
2 changed files with 2 additions and 2 deletions

View file

@ -249,7 +249,7 @@ namespace Input {
Menu::show(Menu::Menus::Main);
return;
}
else if (is_in(key, "F1", help_key)) {
else if (is_in(key, "F1", "?", help_key)) {
Menu::show(Menu::Menus::Help);
return;
}

View file

@ -111,7 +111,7 @@ namespace Menu {
{"4", "Toggle PROC box."},
{"d", "Toggle disks view in MEM box."},
{"F2, o", "Shows options."},
{"F1, h", "Shows this window."},
{"F1, ?, h", "Shows this window."},
{"ctrl + z", "Sleep program and put in background."},
{"q, ctrl + c", "Quits program."},
{"+, -", "Add/Subtract 100ms to/from update timer."},