diff options
Diffstat (limited to 'src/fs.zig')
| -rw-r--r-- | src/fs.zig | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -663,7 +663,7 @@ test "virtual body writes can read their input from the same pane" { try std.testing.expectEqualStrings("same pane contents\n", pane.file.?.content); // The truncation and the write are one undo step. try std.testing.expectEqual(@as(usize, 1), pane.file.?.history.journal.done); - const events = &p.panes[p.active].?.fs.events; + const events = &p.panes[p.view().active].?.fs.events; try std.testing.expect(std.mem.startsWith(u8, events.peek().?, "ED")); events.pop(); try std.testing.expect(std.mem.startsWith(u8, events.peek().?, "EI")); |
