Merge pull request #228 from ctII/pageupdownaddition

add page up and page down to for scrolling pages
This commit is contained in:
xxxserxxx 2022-07-28 13:46:20 -05:00 committed by GitHub
commit ba918ce4b3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
9 changed files with 18 additions and 18 deletions

View File

@ -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)

View File

@ -15,8 +15,8 @@ Prozessnavigation:
- j und <Down>: Zeile nach unten
- <C-u>: halbe Seite nach oben
- <C-d>: halbe Seite nach unten
- <C-b>: ganze Seite nach oben
- <C-f>: ganze Seite nach unten
- <C-b> und <PageUp>: ganze Seite nach oben
- <C-f> und <PageDown>: ganze Seite nach unten
- gg und <Home>: an den Anfang springen
- G und <End>: an das Ende springen

View File

@ -15,8 +15,8 @@ Process navigation:
- j and <Down>: down
- <C-u>: half page up
- <C-d>: half page down
- <C-b>: full page up
- <C-f>: full page down
- <C-b> and <PageUp>: full page up
- <C-f> and <PageDown> : full page down
- gg and <Home>: jump to top
- G and <End>: jump to bottom

View File

@ -15,8 +15,8 @@ Proceza navigadoj:
- j kaj <Malsupren>: malsupren
- <C-u>: duona paĝo supren
- <C-d>: duona paĝo malsupren
- <C-b>: plena paĝo supren
- <C-f>: plena paĝo malsupren
- <C-b> kaj <PageUp>: plena paĝo supren
- <C-f> kaj <PageDown>: plena paĝo malsupren
- gg kaj <Hejmo>: salti al supron
- G kaj <Fino>: salti al malsupron

View File

@ -15,8 +15,8 @@ Navegación de procesos:
- j y <Down>: abajo
- <C-u>: media página arriba
- <C-d>: media página abajo
- <C-b>: página completa arriba
- <C-f>: página completa abajo
- <C-b> y <PageUp>: página completa arriba
- <C-f> y <PageDown>: página completa abajo
- gg y <Home>: saltar al principio
- G y <End>: saltar al final

View File

@ -15,8 +15,8 @@ Navigation dans les processus:
- j et <Down>: vers le bas
- <C-u>: une demi-page vers le haut
- <C-d>: une demi-page vers le bas
- <C-b>: une page entière vers le haut
- <C-f>: une page entière vers le bas
- <C-b> et <PageUp>: une page entière vers le haut
- <C-f> et <PageDown>: une page entière vers le bas
- gg et <Home>: saut au début
- G et <End>: saut à la fin

View File

@ -14,8 +14,8 @@ help="""
- j и <Down>: вниз
- <C-u>: вверх на пол страницы
- <C-d>: вниз на пол страницы
- <C-b>: вверх на всю страницу
- <C-f>: вниз на всю страницу
- <C-b> и <PageUp>: вверх на всю страницу
- <C-f> и <PageDown>: вниз на всю страницу
- gg and <Home>: наверх
- G and <End>: вниз
Действия с процессами:

View File

@ -15,8 +15,8 @@ pu :>pU< dna k -
nwod :>nwoD< dna j -
pu egap flah :>u-C< -
nwod egap flah :>d-C< -
pu egap lluf :>b-C< -
nwod egap lluf :>f-C< -
pu egap lluf :>pUegaP< dna >b-C< -
nwod egap lluf :>nwoDegaP< dna >f-C< -
pot ot pmuj :>emoH< dna gg -
mottob ot pmuj :>dnE< dna G -

View File

@ -15,8 +15,8 @@ help="""
- j <Down>:
- <C-u>:
- <C-d>:
- <C-b>:
- <C-f>:
- <C-b> <PageUp>:
- <C-f> <PageDown>:
- gg <Home>:
- G <End>: