summaryrefslogtreecommitdiff
path: root/test/kitty_client.zig
diff options
context:
space:
mode:
Diffstat (limited to 'test/kitty_client.zig')
-rw-r--r--test/kitty_client.zig3
1 files changed, 3 insertions, 0 deletions
diff --git a/test/kitty_client.zig b/test/kitty_client.zig
index 23c7587f..753727df 100644
--- a/test/kitty_client.zig
+++ b/test/kitty_client.zig
@@ -109,6 +109,9 @@ fn play(arena: std.mem.Allocator, case: []const u8, cmds: *std.ArrayList(u8)) !v
} else if (std.mem.eql(u8, case, "cancel")) {
// CAN in the middle of the payload: nothing runs, the text goes on.
try cmds.print(arena, "\x1b_Ga=T,i=64,f=24,s={d},v={d};{s}\x18CANCELLED-OK\r\n", .{ side, side, b64[0..512] });
+ } else if (std.mem.eql(u8, case, "under")) {
+ // Under the text (z < 0), as a background picture is put.
+ try cmds.print(arena, "\x1b_Ga=T,i=66,f=24,s={d},v={d},c=8,r=4,z=-1,q=2;{s}\x1b\\\r\n", .{ side, side, b64 });
} else if (std.mem.eql(u8, case, "show")) {
try cmds.print(arena, "\x1b_Ga=T,i=65,f=24,s={d},v={d},c=8,r=4,q=2;{s}\x1b\\\r\n", .{ side, side, b64 });
} else if (std.mem.eql(u8, case, "delete")) {