summaryrefslogtreecommitdiff
path: root/test/process/tty_editing.zig
diff options
context:
space:
mode:
Diffstat (limited to 'test/process/tty_editing.zig')
-rw-r--r--test/process/tty_editing.zig5
1 files changed, 5 insertions, 0 deletions
diff --git a/test/process/tty_editing.zig b/test/process/tty_editing.zig
index 9285ce7d..a5d58906 100644
--- a/test/process/tty_editing.zig
+++ b/test/process/tty_editing.zig
@@ -707,6 +707,11 @@ fn fsearch(gpa: std.mem.Allocator, exe: [:0]const u8) !void {
try t.stable(400, 5000);
try t.snap("typing");
try t.style("typing");
+ // M-Enter keeps the places as a list in the tag (SPEC §7.2), whose
+ // cursor C-n moves to the second (§5.4): Enter lands there.
+ try t.send("\x1b\r");
+ try t.stable(400, 5000);
+ try t.snap("list");
try t.key("c-n");
try t.stable(400, 5000);
try t.snap("ctrln");