mirror of https://github.com/aristocratos/btop.git
Add keybind for toggling memory display mode in PROC box
This commit is contained in:
parent
260c0f6623
commit
b5ba2fc963
|
@ -343,6 +343,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);
|
||||
|
||||
|
|
|
@ -195,6 +195,7 @@ namespace Menu {
|
|||
{"c", "Toggle per-core cpu usage of processes."},
|
||||
{"r", "Reverse sorting order in processes box."},
|
||||
{"e", "Toggle processes tree view."},
|
||||
{"%", "Toggles memory display mode in processes box."},
|
||||
{"Selected +, -", "Expand/collapse the selected process in tree view."},
|
||||
{"Selected t", "Terminate selected process with SIGTERM - 15."},
|
||||
{"Selected k", "Kill selected process with SIGKILL - 9."},
|
||||
|
|
Loading…
Reference in New Issue