summaryrefslogtreecommitdiff
path: root/src/tty/tty.zig
diff options
context:
space:
mode:
Diffstat (limited to 'src/tty/tty.zig')
-rw-r--r--src/tty/tty.zig2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/tty/tty.zig b/src/tty/tty.zig
index 5ad02c28..a358051e 100644
--- a/src/tty/tty.zig
+++ b/src/tty/tty.zig
@@ -847,6 +847,8 @@ fn exactKittyPlacement(
.height = std.math.cast(u16, src_h) orelse return null,
},
.pixel_offset = if (pixel_x != 0 or pixel_y != 0) .{ .x = @intCast(pixel_x), .y = @intCast(pixel_y) } else null,
+ // The outer terminal stacks them, under the text below 0.
+ .z_index = if (place.z != 0) place.z else null,
.size = if (full)
.{ .cols = std.math.cast(u16, cols) orelse return null, .rows = 1 }
else