diff options
author | ClementTsang <cjhtsang@uwaterloo.ca> | 2020-02-16 20:21:42 -0500 |
---|---|---|
committer | ClementTsang <cjhtsang@uwaterloo.ca> | 2020-02-16 20:21:42 -0500 |
commit | c09c4a37c4606a7b32a7f747bdbc00fce26b01e6 (patch) | |
tree | 401a1f1d3bf679d05481b1d5f4cb4354f2af635c | |
parent | 683a3d3a259814e6aa9d4ce372dd990157364959 (diff) |
Update some documentation to reflect filter feature in CPU
-rw-r--r-- | README.md | 4 | ||||
-rw-r--r-- | src/constants.rs | 5 |
2 files changed, 7 insertions, 2 deletions
@@ -134,6 +134,10 @@ See this [config](./sample_config.toml) for an example. - `G` (`Shift-g`) or `End` to jump to the last entry of the current table. +#### CPU + +- `/` to allow for enabling/disabling showing certain cores with `Space`. + #### Processes - `dd` to kill the selected process diff --git a/src/constants.rs b/src/constants.rs index aab1ce02..d4e209a7 100644 --- a/src/constants.rs +++ b/src/constants.rs @@ -12,10 +12,10 @@ pub const DEFAULT_UNIX_CONFIG_FILE_PATH: &str = "~/.config/btm/btm.toml"; pub const DEFAULT_WINDOWS_CONFIG_FILE_PATH: &str = ""; // Help text -pub const GENERAL_HELP_TEXT: [&str; 16] = [ +pub const GENERAL_HELP_TEXT: [&str; 17] = [ "General Keybindings\n\n", - "Esc Close dialog box\n", "q, Ctrl-c Quit bottom\n", + "Esc Close filters, dialog boxes, etc.", "Ctrl-r Reset all data\n", "f Freeze display\n", "Ctrl-Arrow Move currently selected widget\n", @@ -29,6 +29,7 @@ pub const GENERAL_HELP_TEXT: [&str; 16] = [ "gg Skip to the first entry of a list\n", "G Skip to the last entry of a list\n", "Enter Maximize the currently selected widget\n", + "/ Filter out graph lines (only CPU at the moment)\n", ]; pub const PROCESS_HELP_TEXT: [&str; 8] = [ |