From 66f27be4bf5cf708a54f740106c4eca777cc8658 Mon Sep 17 00:00:00 2001 From: ClementTsang Date: Sun, 12 Jan 2020 13:18:01 -0500 Subject: [PATCH] Update in-tui documentation to be consistent with changes. --- src/canvas.rs | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/canvas.rs b/src/canvas.rs index 57846c96..5ed70be6 100644 --- a/src/canvas.rs +++ b/src/canvas.rs @@ -30,16 +30,16 @@ const FORCE_MIN_THRESHOLD: usize = 5; lazy_static! { static ref HELP_TEXT: [Text<'static>; 15] = [ Text::raw("\nGeneral Keybindings\n"), - Text::raw("q, Ctrl-c to quit.\n"), + Text::raw("Ctrl-q, Ctrl-c to quit.\n"), Text::raw("Ctrl-r to reset all data.\n"), Text::raw("f to toggle freezing and unfreezing the display.\n"), Text::raw( - "Ctrl+Up/k, Ctrl+Down/j, Ctrl+Left/h, Ctrl+Right/l to navigate between panels.\n" + "Ctrl-Up/Ctrl-k, Ctrl-Down/Ctrl-j, Ctrl-Left/Ctrl-h, Ctrl-Right/Ctrl-l to navigate between widgets.\n" ), - Text::raw("Up and Down scrolls through a list.\n"), + Text::raw("Up/k and Down/j scrolls through a 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("\n Process Panel Keybindings\n"), + Text::raw("\n Process Widget Keybindings\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"), @@ -508,7 +508,7 @@ fn draw_cpu_legend( fn _draw_memory_table( _f: &mut Frame, _app_state: &app::App, _draw_loc: Rect, ) { - // TODO: Memory table to be made for basic mode + // TODO: Memory table to be made for basic mode } fn draw_memory_graph(f: &mut Frame, app_state: &app::App, draw_loc: Rect) {