aboutsummaryrefslogtreecommitdiff
path: root/terminal.c
diff options
context:
space:
mode:
authorDaniel Eklöf <daniel@ekloef.se>2020-09-15 17:09:00 +0000
committerDaniel Eklöf <daniel@ekloef.se>2020-09-15 17:12:29 +0000
commitf2497320c68978fb4c25226966c11f115cb88e10 (patch)
tree542a60fb9c16a795955f7c60a4a17cd509d2292d /terminal.c
parentinput: mouse_scroll(): refactor (diff)
config: add mouse.alternate-scroll-mode option
This option controls the initial state of the Alternate Scroll Mode, and defaults to ‘enabled’.
Diffstat (limited to 'terminal.c')
-rw-r--r--terminal.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/terminal.c b/terminal.c
index 9d68167d..5e0dc65a 100644
--- a/terminal.c
+++ b/terminal.c
@@ -964,6 +964,7 @@ term_init(const struct config *conf, struct fdm *fdm, struct reaper *reaper,
.grid = &term->normal,
.composed_count = 0,
.composed = NULL,
+ .alt_scrolling = conf->mouse.alternate_scroll_mode,
.meta = {
.esc_prefix = true,
.eight_bit = true,