diff options
Diffstat (limited to 'test/hxdiff.zig')
| -rw-r--r-- | test/hxdiff.zig | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/hxdiff.zig b/test/hxdiff.zig index 1cb4d86f..03b135e2 100644 --- a/test/hxdiff.zig +++ b/test/hxdiff.zig @@ -407,7 +407,7 @@ fn runCase(arena: std.mem.Allocator, case: Case, pane_kind: []const u8) !Result // modal cursor tracking the shell cursor below the output) core.update(.{ .key = .{ .cp = core.opts.tty_toggle, .ctrl = true } }); pump(core); - if (core.panes[core.active]) |pane| { + if (core.panes[core.view().active]) |pane| { pane.body.cur_row = 0; pane.body.cur_col = 0; pane.body.cur_pinned = true; @@ -492,7 +492,7 @@ fn runCase(arena: std.mem.Allocator, case: Case, pane_kind: []const u8) !Result } // one contract result line off the active pane's final state - const pane = core.panes[core.active] orelse return error.NoActivePane; + const pane = core.panes[core.view().active] orelse return error.NoActivePane; var text: []const u8 = undefined; if (pane.file) |f| { text = f.content; |
