mirror of
https://github.com/ClementTsang/bottom
synced 2024-11-10 14:44:18 +00:00
Update documentation and help menu for HJKL
This commit is contained in:
parent
f45b2d5711
commit
f21c06f8ed
2 changed files with 3 additions and 2 deletions
|
@ -135,7 +135,7 @@ Run using `btm`.
|
|||
|
||||
- `f` to freeze the screen from updating with new data. Press `f` again to unfreeze. Note that monitoring will still continue in the background.
|
||||
|
||||
- `Ctrl/Shift-Up`, `Ctrl/Shift-Down`, `Ctrl/Shift-Left`, and `Ctrl/Shift-Right` to navigate between widgets. **Note that on macOS, `Ctrl`-arrow keys conflicts with an existing macOS binding, use `Shift`-arrow key instead.**
|
||||
- `Ctrl/Shift-Arrow` or `H/J/K/L` to navigate between widgets. **Note that on macOS, `Ctrl`-arrow keys conflicts with an existing macOS binding, use `Shift`-arrow key instead.**
|
||||
|
||||
- `Esc` to close a dialog window.
|
||||
|
||||
|
|
|
@ -12,7 +12,7 @@ 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; 14] = [
|
||||
pub const GENERAL_HELP_TEXT: [&str; 15] = [
|
||||
"General Keybindings\n\n",
|
||||
"Esc Close dialog box\n",
|
||||
"q, Ctrl-c Quit bottom\n",
|
||||
|
@ -20,6 +20,7 @@ pub const GENERAL_HELP_TEXT: [&str; 14] = [
|
|||
"f Freeze display\n",
|
||||
"Ctrl-Arrow Move currently selected widget\n",
|
||||
"Shift-Arrow Move currently selected widget\n",
|
||||
"H/J/K/L Move currently selected widget up/down/left/right\n",
|
||||
"Up, k Move cursor up\n",
|
||||
"Down, j Move cursor down\n",
|
||||
"Left, h Move cursor left\n",
|
||||
|
|
Loading…
Reference in a new issue