summaryrefslogtreecommitdiff
path: root/src/normal.zig
diff options
context:
space:
mode:
Diffstat (limited to 'src/normal.zig')
-rw-r--r--src/normal.zig2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/normal.zig b/src/normal.zig
index 77feb7cf..8de23d1c 100644
--- a/src/normal.zig
+++ b/src/normal.zig
@@ -1015,7 +1015,7 @@ test "gj/gk step the wrapped rows a body draws while j/k keep the file's lines"
const p = try Pardes.init(gpa, .{ .tty_only = true });
defer p.deinit();
while (p.nextEffect()) |_| {}
- const long = "a" ** 400;
+ const long = &@as([400]u8, @splat('a'));
const pane = try p.setTestFile(long ++ "\nsecond\n");
p.settings.wrap = true;
const width = panes.File.wrapWidth(pane, true);