terminal: enable alternate scroll mode by default

Fixes #641

xterm does not so there is an argument to not doing this but a lot of
other terminals do. Having this on by default makes things like less
scroll with the mouse wheel by default which is nice to have.
This commit is contained in:
Mitchell Hashimoto
2023-10-09 09:23:39 -07:00
parent dbd15c80a6
commit d0b8bf7752

View File

@ -165,7 +165,7 @@ const entries: []const ModeEntry = &.{
.{ .name = "focus_event", .value = 1004 },
.{ .name = "mouse_format_utf8", .value = 1005 },
.{ .name = "mouse_format_sgr", .value = 1006 },
.{ .name = "mouse_alternate_scroll", .value = 1007 },
.{ .name = "mouse_alternate_scroll", .value = 1007, .default = true },
.{ .name = "mouse_format_urxvt", .value = 1015 },
.{ .name = "mouse_format_sgr_pixels", .value = 1016 },
.{ .name = "alt_esc_prefix", .value = 1036, .default = true },