summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--README.md1
-rw-r--r--widgets/help.go4
2 files changed, 1 insertions, 4 deletions
diff --git a/README.md b/README.md
index 76c3458..6e8c829 100644
--- a/README.md
+++ b/README.md
@@ -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
diff --git a/widgets/help.go b/widgets/help.go
index 1ab09c2..eeb29e1 100644
--- a/widgets/help.go
+++ b/widgets/help.go
@@ -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