summaryrefslogtreecommitdiff
path: root/test/terminal.zig
diff options
context:
space:
mode:
Diffstat (limited to 'test/terminal.zig')
-rw-r--r--test/terminal.zig2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/terminal.zig b/test/terminal.zig
index 03bcd294..2873c278 100644
--- a/test/terminal.zig
+++ b/test/terminal.zig
@@ -107,7 +107,7 @@ test "document construction allocates only the pane and has inert terminal defau
try std.testing.expectEqual(Term.Grid{}, grid(pane.terminal));
try std.testing.expectEqual(Term.Modes{}, modes(pane.terminal));
try std.testing.expectEqual(Term.Prompt{}, prompt(pane.terminal));
- pane.scrollBy(100);
+ pane.scrollBy(pardes.config.tab_width, 100);
pane.followOutput();
pane.resizeGrid(undefined, 80, 24); // no terminal: the core is never read
try std.testing.expectEqual(Term.Grid{}, grid(pane.terminal));