Update some documentation to reflect filter feature in CPU

This commit is contained in:
ClementTsang 2020-02-16 20:21:42 -05:00
parent 683a3d3a25
commit c09c4a37c4
2 changed files with 7 additions and 2 deletions

View File

@ -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

View File

@ -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] = [