diff --git a/README.md b/README.md index 75eb0db..3e22b43 100644 --- a/README.md +++ b/README.md @@ -2,7 +2,7 @@ ![image](https://github.com/cjbassi/gotop/blob/master/demo.gif) -Another TUI graphical activity monitor, inspired by [gtop](https://github.com/aksakalli/gtop) and [vtop](https://github.com/MrRio/vtop), this time written in [Go](https://golang.org/)! +Another TUI graphical activity monitor, inspired by [gtop](https://github.com/aksakalli/gtop) and [vtop](https://github.com/MrRio/vtop), this time written in [Go](https://golang.org/)! Built with [gopsutil](https://github.com/shirou/gopsutil), [drawille-go](https://github.com/exrook/drawille-go), and a modified version of [termui](https://github.com/gizak/termui). @@ -36,11 +36,11 @@ go get github.com/cjbassi/gotop ### Keybinds -* Quit: `q` or `Ctrl-c` +* Quit: `q` or `` * Navigation: * ``/`` and `j`/`k`: up and down - * `C-d` and `C-u`: up and down half a page - * `C-f` and `C-b`: up and down a full page + * `` and ``: up and down half a page + * `` and ``: up and down a full page * `gg` and `G`: jump to top and bottom * Process Sorting: * `c`: CPU diff --git a/widgets/help.go b/widgets/help.go index 6c0f592..ff5c716 100644 --- a/widgets/help.go +++ b/widgets/help.go @@ -7,21 +7,21 @@ import ( ) const KEYBINDS = ` -Quit: 'q' or 'Ctrl-c' +Quit: q or -Navigation: - - ''/'' and 'j'/'k': up and down - - 'C-d' and 'C-u': up and down half a page - - 'C-f' and 'C-b': up and down a full page - - 'gg' and 'G': jump to top and bottom +Navigation + - / and j/k: up and down + - and : up and down half a page + - and : up and down a full page + - gg and G: jump to top and bottom -Process Sorting: - - 'c': CPU - - 'm': Mem - - 'p': PID +Process Sorting + - c: CPU + - m: Mem + - p: PID -'': toggle process grouping -'dd': kill the selected process or process group +: toggle process grouping +dd: kill the selected process or process group ` type HelpMenu struct {