From cfca180a1109becfba452fb90c91021dd4284ffa Mon Sep 17 00:00:00 2001 From: ClementTsang Date: Fri, 3 Jan 2020 00:00:05 -0500 Subject: [PATCH] [skip travis] More documentation tweaking --- README.md | 20 +++++++++++--------- src/main.rs | 1 - 2 files changed, 11 insertions(+), 10 deletions(-) diff --git a/README.md b/README.md index 4ab4341f..25ed2e10 100644 --- a/README.md +++ b/README.md @@ -20,7 +20,7 @@ You can currently install by cloning and building yourself using `cargo build -- macOS support will hopefully come soonTM. -## Compatibility +## Support The compatibility of each widget and operating systems are, as of version 0.1.0, as follows: @@ -68,13 +68,19 @@ The compatibility of each widget and operating systems are, as of version 0.1.0, - `Ctrl+Up/k`, `Ctrl+Down/j`, `Ctrl+Left/h`, `Ctrl+Right/l` to navigate between panels. -- `Up` and `Down` scrolls through the list if the panel is a table (Temperature, Disks, Processes). - - `Esc` to close a dialog window. - `?` 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, temperature, and disk panels +#### Scrollable Tables + +- `Up` and `Down` scrolls through the list if the panel is a table (Temperature, Disks, Processes). + +- `gg` to jump to the first entry of the current table. + +- `G` (`Shift+g`) to jump to the last entry of the current table. + +#### Processes - `dd` to kill the selected process @@ -86,13 +92,9 @@ The compatibility of each widget and operating systems are, as of version 0.1.0, - `n` to sort by process name. Sorts in ascending order by default. Press again to reverse sorting order. -- `gg` to jump to the first entry of the current table. - -- `G` (`Shift+g`) to jump to the last entry of the current table. - ### Mouse actions -- Scrolling with the mouse will go through lists/tables right now, similar to using the up/down arrow keys. +- Scrolling with the mouse will scroll through the currently selected list, similar to using the up/down arrow keys. ## Thanks, kudos, and all the like diff --git a/src/main.rs b/src/main.rs index 7bf62b0e..b16250c8 100644 --- a/src/main.rs +++ b/src/main.rs @@ -279,7 +279,6 @@ fn main() -> error::Result<()> { ); // Convert all data into tui components - // TODO: Note that we might want to move this the canvas' side... consider. let network_data = update_network_data_points(&app.data); app.canvas_data.network_data_rx = network_data.rx; app.canvas_data.network_data_tx = network_data.tx;