diff options
Diffstat (limited to 'cmd')
-rw-r--r-- | cmd/gotop/description.txt | 2 | ||||
-rw-r--r-- | cmd/gotop/main.go | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/cmd/gotop/description.txt b/cmd/gotop/description.txt index eb038eb..63ceff7 100644 --- a/cmd/gotop/description.txt +++ b/cmd/gotop/description.txt @@ -20,7 +20,7 @@ The keys are: BattLines -- array of ints for the colors of lines MemLines -- array of ints for the colors of lines ProcCursor -- int, color of the cursor in the process widget - Sparkline -- int, color of the graph bars + Sparklines -- array of ints for the colors of network usage DiskBar -- int, color of the disk bars TempLow -- int, color used for low temperatures TempHigh -- int, color used for high temperatures diff --git a/cmd/gotop/main.go b/cmd/gotop/main.go index cd8293f..9735056 100644 --- a/cmd/gotop/main.go +++ b/cmd/gotop/main.go @@ -320,12 +320,12 @@ func eventLoop(c gotop.Config, grid *layout.MyGrid) { grid.Proc.ScrollHalfPageUp() ui.Render(grid.Proc) } - case "<C-f>": + case "<C-f>", "<PageDown>": if grid.Proc != nil { grid.Proc.ScrollPageDown() ui.Render(grid.Proc) } - case "<C-b>": + case "<C-b>", "<PageUp>": if grid.Proc != nil { grid.Proc.ScrollPageUp() ui.Render(grid.Proc) |