diff options
Diffstat (limited to 'test/e2e_harness.zig')
| -rw-r--r-- | test/e2e_harness.zig | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/test/e2e_harness.zig b/test/e2e_harness.zig index f9ed44c0..9481166e 100644 --- a/test/e2e_harness.zig +++ b/test/e2e_harness.zig @@ -349,11 +349,13 @@ pub const Harness = struct { }; } - /// The visual cursor position (viewport coords): { x, y }. - pub fn cursor(self: *Harness) struct { x: u16, y: u16 } { + /// The visual cursor position (viewport coords): { x, y }, and whether + /// the app shows it (DECTCEM). + pub fn cursor(self: *Harness) struct { x: u16, y: u16, shown: bool } { return .{ .x = self.term.screens.active.cursor.x, .y = self.term.screens.active.cursor.y, + .shown = self.term.modes.get(.cursor_visible), }; } |
