summaryrefslogtreecommitdiff
path: root/src/Terminal.zig
diff options
context:
space:
mode:
Diffstat (limited to 'src/Terminal.zig')
-rw-r--r--src/Terminal.zig5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/Terminal.zig b/src/Terminal.zig
index 4c29e151..ba156ada 100644
--- a/src/Terminal.zig
+++ b/src/Terminal.zig
@@ -545,10 +545,7 @@ test "replay ownership is terminal-only and construction rolls back on allocatio
try std.testing.expectEqual(terminal and enabled, pane.terminal != null);
}
};
- // Most of it is the three texts' selections, limits.selections ranges
- // each held inline (about 20 KiB a text on the desktop), and the regex
- // prompt's snapshot of them.
- try std.testing.expect(@sizeOf(Pane) < 160 * 1024);
+ try std.testing.expect(@sizeOf(Pane) < 128 * 1024);
try std.testing.checkAllAllocationFailures(std.testing.allocator, Case.run, .{false});
try std.testing.checkAllAllocationFailures(std.testing.allocator, Case.run, .{true});
}