From f2497320c68978fb4c25226966c11f115cb88e10 Mon Sep 17 00:00:00 2001 From: Daniel Eklöf Date: Tue, 15 Sep 2020 19:09:00 +0200 Subject: config: add mouse.alternate-scroll-mode option MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This option controls the initial state of the Alternate Scroll Mode, and defaults to ‘enabled’. --- terminal.c | 1 + 1 file changed, 1 insertion(+) (limited to 'terminal.c') 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, -- cgit v1.3