summaryrefslogtreecommitdiff
path: root/test/process/tty_images.zig
diff options
context:
space:
mode:
Diffstat (limited to 'test/process/tty_images.zig')
-rw-r--r--test/process/tty_images.zig11
1 files changed, 6 insertions, 5 deletions
diff --git a/test/process/tty_images.zig b/test/process/tty_images.zig
index 9c37a40d..bb9da072 100644
--- a/test/process/tty_images.zig
+++ b/test/process/tty_images.zig
@@ -8,7 +8,7 @@ pub const cases = .{
// image panes: right-click a .ppm opens petscii glyph art (no kitty in the
// harness). The tag starts with the renderer's plain state fields followed by
-// its path and `Term Del`; the fields are display-only, while their toggles are
+// its path and `Del`; the fields are display-only, while their toggles are
// builtins under SPC t (the old clickable tag words sat past the pane's right
// edge, so clicking them only ever hit the neighbouring shell's tag).
fn images(gpa: std.mem.Allocator, exe: [:0]const u8) !void {
@@ -53,12 +53,13 @@ fn images(gpa: std.mem.Allocator, exe: [:0]const u8) !void {
// prefix is wider than this source-local column, so widen the grid for this
// final assertion. (A column grip drag intentionally takes width from only
// one neighbour, which cannot expose this 82-column prefix.) Then click the
- // visible tail itself, at its `Term`. This proves the image tag is an ordinary
- // editor rather than accidentally typing at a clipped read-only path.
+ // visible tail itself, past its `Del`, where its own text starts. This proves
+ // the image tag is an ordinary editor rather than accidentally typing at a
+ // clipped read-only path.
try t.resize(31, 400);
try t.stable(400, 5000);
- try t.press("left", "@Term", 7);
- try t.release("left", "@Term", 7);
+ try t.press("left", "@Del+4", 7);
+ try t.release("left", "@Del+4", 7);
try t.stable(400, 5000);
try t.key("i");
try t.send("Zork ");