Removed extra keybinds from README and help widget

This commit is contained in:
Caleb Bassi 2018-02-22 14:51:33 -08:00
parent d2ecb1cef6
commit c716a84392
2 changed files with 1 additions and 4 deletions

View File

@ -48,7 +48,6 @@ go get github.com/cjbassi/gotop
* `p`: PID
* `<tab>`: toggle process grouping
* `dd`: kill the selected process or process group
* `<left>`/`<right>` and `h`/`l`: zoom in and out of graphs
* `?`: toggles keybind help menu

View File

@ -22,8 +22,6 @@ Process Sorting:
'<tab>': toggle process grouping
'dd': kill the selected process or process group
'<left>'/'<right>' and 'h'/'l': ...
'u': update gotop
`
type HelpMenu struct {
@ -33,7 +31,7 @@ type HelpMenu struct {
func NewHelpMenu() *HelpMenu {
block := *ui.NewBlock()
block.X = 48
block.Y = 17
block.Y = 15
block.XOffset = (ui.Body.Width - block.X) / 2
block.YOffset = (ui.Body.Height - block.Y) / 2
// block.XOffset = ui.Body.Width - 50