diff options
author | xxxserxxx <60757196+xxxserxxx@users.noreply.github.com> | 2022-07-28 13:46:20 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-07-28 13:46:20 -0500 |
commit | ba918ce4b3b1cbc5ec88295b18d5be31e1f9d9bf (patch) | |
tree | 61fc5fca10afc381682b8a75dce87b78a7206d56 | |
parent | cd0cf0f6ed85f3d9e9cbc7dfd2eb6e0a03f18dc2 (diff) | |
parent | 9238e81a593c984ea9dc6e8718232d66654c8e23 (diff) |
Merge pull request #228 from ctII/pageupdownaddition
add page up and page down to for scrolling pages
-rw-r--r-- | cmd/gotop/main.go | 4 | ||||
-rw-r--r-- | dicts/de_DE.toml | 4 | ||||
-rw-r--r-- | dicts/en_US.toml | 4 | ||||
-rw-r--r-- | dicts/eo.toml | 4 | ||||
-rw-r--r-- | dicts/es.toml | 4 | ||||
-rw-r--r-- | dicts/fr.toml | 4 | ||||
-rw-r--r-- | dicts/ru_RU.toml | 4 | ||||
-rw-r--r-- | dicts/tt_TT.toml | 4 | ||||
-rw-r--r-- | dicts/zh_CN.toml | 4 |
9 files changed, 18 insertions, 18 deletions
diff --git a/cmd/gotop/main.go b/cmd/gotop/main.go index 272eecc..f43bab2 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) diff --git a/dicts/de_DE.toml b/dicts/de_DE.toml index edc74d8..19c02bc 100644 --- a/dicts/de_DE.toml +++ b/dicts/de_DE.toml @@ -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 diff --git a/dicts/en_US.toml b/dicts/en_US.toml index 30dacfa..4fbdf5d 100644 --- a/dicts/en_US.toml +++ b/dicts/en_US.toml @@ -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 diff --git a/dicts/eo.toml b/dicts/eo.toml index 7371fa2..efcf72b 100644 --- a/dicts/eo.toml +++ b/dicts/eo.toml @@ -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 diff --git a/dicts/es.toml b/dicts/es.toml index bb4f3d1..a90e6c8 100644 --- a/dicts/es.toml +++ b/dicts/es.toml @@ -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 diff --git a/dicts/fr.toml b/dicts/fr.toml index e694ed3..27ab166 100644 --- a/dicts/fr.toml +++ b/dicts/fr.toml @@ -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 diff --git a/dicts/ru_RU.toml b/dicts/ru_RU.toml index df15a0b..fe2d347 100644 --- a/dicts/ru_RU.toml +++ b/dicts/ru_RU.toml @@ -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>: вниз Действия с процессами: diff --git a/dicts/tt_TT.toml b/dicts/tt_TT.toml index 3e778bc..5590767 100644 --- a/dicts/tt_TT.toml +++ b/dicts/tt_TT.toml @@ -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 - diff --git a/dicts/zh_CN.toml b/dicts/zh_CN.toml index bcce304..f4c0e73 100644 --- a/dicts/zh_CN.toml +++ b/dicts/zh_CN.toml @@ -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>: 到底部 |