diff options
author | ClementTsang <clementjhtsang@gmail.com> | 2019-10-09 22:50:36 -0400 |
---|---|---|
committer | ClementTsang <clementjhtsang@gmail.com> | 2019-10-09 22:50:36 -0400 |
commit | 726006dbec7dcf7df8aa5c6ac7f420ad22a1e94c (patch) | |
tree | 1fcdf2e283ad9e45cb5a3736b9d1d1c3ceca6329 | |
parent | 396360cdbf4a28c69d4ae2df3c3ff0ea1fcda23e (diff) |
[skip travis] Minor README and help updates to be more clear.
-rw-r--r-- | README.md | 4 | ||||
-rw-r--r-- | src/canvas.rs | 4 |
2 files changed, 4 insertions, 4 deletions
@@ -47,7 +47,7 @@ Currently, I'm unable to really dev or test on MacOS, so I'm not sure how well t - `q`, `Ctrl-C` to quit. -- `f` to freeze updating. Press `f` again to unfreeze. Note updating will still continue in the background. +- `f` to freeze the screen from updating with new data. Press `f` again to unfreeze. Note that monitoring will still continue in the background. - `Up/k`, `Down/j`, `Left/h`, `Right/l` to navigate between panels. @@ -55,7 +55,7 @@ Currently, I'm unable to really dev or test on MacOS, so I'm not sure how well t - `Esc` to close a dialog window. -- `?` to get a help screen explaining the controls. +- `?` to get a help screen explaining the controls. Note all controls except `Esc` to close the dialog will be disabled while this is open. #### Processes Panel diff --git a/src/canvas.rs b/src/canvas.rs index eff9b755..9943a256 100644 --- a/src/canvas.rs +++ b/src/canvas.rs @@ -66,7 +66,7 @@ pub fn draw_data<B : backend::Backend>(terminal : &mut Terminal<B>, app_state : Text::raw("Shift+Up and Shift+Down scrolls through the list.\n"), Text::raw("Esc to close a dialog window (help or dd confirmation).\n"), Text::raw("? to get this help screen.\n"), - Text::raw("\nProcess Panel Keybinds\n"), + Text::raw("\n Process Panel Keybinds\n"), Text::raw("dd to kill the selected process.\n"), Text::raw("c to sort by CPU usage.\n"), Text::raw("m to sort by memory usage.\n"), @@ -75,7 +75,7 @@ pub fn draw_data<B : backend::Backend>(terminal : &mut Terminal<B>, app_state : ]; Paragraph::new(text.iter()) - .block(Block::default().title("Help").borders(Borders::ALL)) + .block(Block::default().title("Help (Press Esc to close)").borders(Borders::ALL)) .style(Style::default().fg(Color::Gray)) .alignment(Alignment::Left) .wrap(true) |