summaryrefslogtreecommitdiff
path: root/test/kitty.zig
diff options
context:
space:
mode:
Diffstat (limited to 'test/kitty.zig')
-rw-r--r--test/kitty.zig4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/kitty.zig b/test/kitty.zig
index 5531242e..daa01060 100644
--- a/test/kitty.zig
+++ b/test/kitty.zig
@@ -71,7 +71,7 @@ const Rig = struct {
std.testing.log_level = .err;
// A core boots one shell or the classic three.
const p = try Pardes.init(gpa, .{ .cols = 120, .rows = 40, .shells = if (shells > 1) 3 else 1 });
- p.native_images = true;
+ p.frontend.native_images = true;
p.update(.{ .resize = .{ .cols = 120, .rows = 40, .cell_pixels = .{ .w = 10, .h = 20 } } });
for (p.panes) |slot| if (slot) |each| {
each.body.mode = .tty;
@@ -1310,7 +1310,7 @@ test "kitty: recorded kitten icat and chafa traffic replays: answers whole, imag
test "kitty: under a shell that draws no pixels, a 64x64 image over 8x4 cells is glyph art in every cell" {
var r = try Rig.init(1);
defer r.deinit();
- r.p.native_images = false;
+ r.p.frontend.native_images = false;
r.p.update(.{ .resize = .{ .cols = 120, .rows = 40, .cell_pixels = .{ .w = 8, .h = 16 } } });
r.drain();
// Not the frame's arena: each frame resets that.