mirror of
https://github.com/ghostty-org/ghostty.git
synced 2025-10-05 01:16:33 +00:00
support mouse alt scroll (mode 1007)
This enables less and other older legacy programs to get mouse scroll events
This commit is contained in:
@@ -101,6 +101,10 @@ pub const Mode = enum(u16) {
|
||||
/// Report mouse position in the SGR format.
|
||||
mouse_format_sgr = 1006,
|
||||
|
||||
/// Report mouse scroll events as cursor up/down keys. Any other mouse
|
||||
/// mode overrides this.
|
||||
mouse_alternate_scroll = 1007,
|
||||
|
||||
/// Report mouse position in the urxvt format.
|
||||
mouse_format_urxvt = 1015,
|
||||
|
||||
|
Reference in New Issue
Block a user