mirror of
https://github.com/wez/wezterm.git
synced 2024-11-28 09:12:19 +03:00
18 lines
391 B
Markdown
18 lines
391 B
Markdown
|
# ScrollByPage
|
||
|
|
||
|
Adjusts the scroll position by the number of pages specified by the argument.
|
||
|
Negative values scroll upwards, while positive values scroll downwards.
|
||
|
|
||
|
```lua
|
||
|
local wezterm = require 'wezterm';
|
||
|
|
||
|
return {
|
||
|
keys = {
|
||
|
{key="PageUp", mods="SHIFT", action=wezterm.action{ScrollByPage=-1}},
|
||
|
{key="PageDown", mods="SHIFT", action=wezterm.action{ScrollByPage=1}},
|
||
|
}
|
||
|
}
|
||
|
```
|
||
|
|
||
|
|