From 3e049046f758182f39c32b8f56a76c2cccab797d Mon Sep 17 00:00:00 2001 From: mohammad hashemy Date: Thu, 7 Jul 2022 17:56:05 +0430 Subject: [PATCH] add "?" to see help Signed-off-by: mohammad hashemy --- src/btop_input.cpp | 2 +- src/btop_menu.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/btop_input.cpp b/src/btop_input.cpp index 13ed1e2..586dea9 100644 --- a/src/btop_input.cpp +++ b/src/btop_input.cpp @@ -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; } diff --git a/src/btop_menu.cpp b/src/btop_menu.cpp index 6dd420c..c9f5c64 100644 --- a/src/btop_menu.cpp +++ b/src/btop_menu.cpp @@ -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."},