cursor: ?Cursor = null, alt_screen: bool = false, window_title: ?[]const u8 = null, mouse: Mouse = .off, bracketed_paste: bool = false, focus_reporting: bool = false, pub const Mouse = enum(u8) { off, /// Button press/release only (DECSET 1000). normal, /// Button events plus motion while a button is held (DECSET 1002). button_motion, /// Button events plus all motion, even with no buttons down (DECSET 1003). all_motion, }; pub const Cursor = struct { x: u16 = 0, y: u16 = 0, shape: Shape = .block, blink: bool = true, pub const Shape = enum(u8) { block, underline, bar, }; };