summaryrefslogtreecommitdiffstats
path: root/src/btop_input.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/btop_input.cpp')
-rw-r--r--src/btop_input.cpp7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/btop_input.cpp b/src/btop_input.cpp
index ce3ac48..88f307b 100644
--- a/src/btop_input.cpp
+++ b/src/btop_input.cpp
@@ -64,9 +64,13 @@ namespace Input {
{"[C", "right"},
{"OC", "right"},
{"[2~", "insert"},
+ {"[4h", "insert"},
{"[3~", "delete"},
+ {"[P", "delete"},
{"[H", "home"},
+ {"[1~", "home"},
{"[F", "end"},
+ {"[4~", "end"},
{"[5~", "page_up"},
{"[6~", "page_down"},
{"\t", "tab"},
@@ -362,6 +366,9 @@ namespace Input {
else if (key == "c")
Config::flip("proc_per_core");
+ else if (key == "%")
+ Config::flip("proc_mem_bytes");
+
else if (key == "delete" and not Config::getS("proc_filter").empty())
Config::set("proc_filter", ""s);