this repo has no description
13
fork

Configure Feed

Select the types of activity you want to include in your feed.

tty(windows): enable_extended_flags

Note: we still need to parse the events.

+3 -2
+3 -2
src/windows/Tty.zig
··· 24 24 const InputMode = struct { 25 25 const enable_window_input: u32 = 0x0008; // resize events 26 26 const enable_mouse_input: u32 = 0x0010; 27 + const enable_extended_flags: u32 = 0x0080; // allows mouse events 27 28 28 29 pub fn rawMode() u32 { 29 - return enable_window_input | enable_mouse_input; 30 + return enable_window_input | enable_mouse_input | enable_extended_flags; 30 31 } 31 32 }; 32 33 ··· 277 278 else => return .{ .key_press = key }, 278 279 } 279 280 }, 280 - 0x0002 => { // TODO: ConPTY doesn't pass through MOUSE_EVENT input records yet. 281 + 0x0002 => { // TODO: Parse mouse events 281 282 // see https://learn.microsoft.com/en-us/windows/console/mouse-event-record-str 282 283 }, 283 284 0x0004 => { // Screen resize events