mirror of
https://github.com/ghostty-org/ghostty.git
synced 2025-07-15 00:06:09 +03:00
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:
@ -165,7 +165,7 @@ const entries: []const ModeEntry = &.{
|
|||||||
.{ .name = "focus_event", .value = 1004 },
|
.{ .name = "focus_event", .value = 1004 },
|
||||||
.{ .name = "mouse_format_utf8", .value = 1005 },
|
.{ .name = "mouse_format_utf8", .value = 1005 },
|
||||||
.{ .name = "mouse_format_sgr", .value = 1006 },
|
.{ .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_urxvt", .value = 1015 },
|
||||||
.{ .name = "mouse_format_sgr_pixels", .value = 1016 },
|
.{ .name = "mouse_format_sgr_pixels", .value = 1016 },
|
||||||
.{ .name = "alt_esc_prefix", .value = 1036, .default = true },
|
.{ .name = "alt_esc_prefix", .value = 1036, .default = true },
|
||||||
|
Reference in New Issue
Block a user