diff options
Diffstat (limited to 'test/process')
| -rw-r--r-- | test/process/tty_editing.zig | 20 | ||||
| -rw-r--r-- | test/process/tty_layout.zig | 2 | ||||
| -rw-r--r-- | test/process/tty_terminals.zig | 4 |
3 files changed, 13 insertions, 13 deletions
diff --git a/test/process/tty_editing.zig b/test/process/tty_editing.zig index cb903bd6..9285ce7d 100644 --- a/test/process/tty_editing.zig +++ b/test/process/tty_editing.zig @@ -109,7 +109,7 @@ fn fileedit(gpa: std.mem.Allocator, exe: [:0]const u8) !void { try t.snap("undone"); // Save through the file pane's own tag: `:` focuses that same tag and `w` // selects Save before the ordinary execute key runs it. - try t.key(":"); + try t.key(": :"); try t.stable(400, 5000); try t.key("w tab"); try t.stable(600, 8000); @@ -1393,7 +1393,7 @@ fn cmdword(gpa: std.mem.Allocator, exe: [:0]const u8) !void { // opens ITS tag; `A` appends at the end of it, Esc and `h` put the // normal-mode cursor on the last character typed, and the execute key runs // the word under it exactly as the body's does. - try t.key(":"); + try t.key(": :"); try t.key("A"); try t.key("space"); try t.send("Exec"); @@ -1409,7 +1409,7 @@ fn cmdword(gpa: std.mem.Allocator, exe: [:0]const u8) !void { try t.snap("execword"); // a command word run from that tag runs as a command pane in the directory // the pane lists, as a word run from any text pane's tag does - try t.key(":"); + try t.key(": :"); try t.key("A"); try t.key("space"); try t.send("@`echo ZZ''T`"); @@ -2407,7 +2407,7 @@ fn tagcmd(gpa: std.mem.Allocator, exe: [:0]const u8) !void { try t.stable(400, 5000); try t.snap("edited"); // `:` -> the tag, in normal mode, cursor on Save - try t.key(":"); + try t.key(": :"); try t.stable(400, 5000); try t.snap("colon"); // w -> the "Save" span (selected, like the body's word motion) @@ -2421,7 +2421,7 @@ fn tagcmd(gpa: std.mem.Allocator, exe: [:0]const u8) !void { try t.snap("saved"); try t.snapFile("written", "/tmp/pardes-snap/tagcmd/cwd/c.txt"); // `:` then `:`: back to the body with the tag untouched, nothing run - try t.key(":"); + try t.key(": :"); try t.stable(400, 5000); try t.key(":"); try t.stable(400, 5000); @@ -2468,7 +2468,7 @@ fn tagnav(gpa: std.mem.Allocator, exe: [:0]const u8) !void { try t.stable(400, 5000); try t.snap("start"); // `:` -> the file's OWN tagline, normal mode, on Save - try t.key(":"); + try t.key(": :"); try t.stable(400, 5000); try t.snap("colon"); // w selects in the tag the way it selects in a body @@ -2485,13 +2485,13 @@ fn tagnav(gpa: std.mem.Allocator, exe: [:0]const u8) !void { try t.stable(400, 5000); try t.snap("right"); // `:` there -> that pane's own tag, on its Save the first time - try t.key(":"); + try t.key(": :"); try t.stable(400, 5000); try t.snap("right-tag"); // back left, and `:` finds the file's tag cursor where l left it try t.key("c-w h enter"); try t.stable(400, 5000); - try t.key(":"); + try t.key(": :"); try t.stable(400, 5000); try t.snap("left-tag"); // `:` in the tag's normal mode: back to the body @@ -2572,7 +2572,7 @@ fn tagpath(gpa: std.mem.Allocator, exe: [:0]const u8) !void { try t.wait(8000, "c.txt"); try t.stable(700, 20000); try t.snap("start"); - try t.key(":"); + try t.key(": :"); try t.stable(400, 5000); try t.snap("colon"); try t.key("0"); @@ -2611,7 +2611,7 @@ fn tagpath(gpa: std.mem.Allocator, exe: [:0]const u8) !void { try t.key("esc"); try t.stable(400, 5000); try t.snap("name-cancelled"); - try t.key(":"); + try t.key(": :"); try t.key("0"); try t.key("i"); try t.send("/renamed"); diff --git a/test/process/tty_layout.zig b/test/process/tty_layout.zig index e0396a53..00197a5c 100644 --- a/test/process/tty_layout.zig +++ b/test/process/tty_layout.zig @@ -439,7 +439,7 @@ fn tagalign(gpa: std.mem.Allocator, exe: [:0]const u8) !void { try t.settle(100); try t.key("esc"); try t.settle(100); - try t.key(":"); + try t.key(": :"); try t.key("A"); try t.stable(400, 5000); try t.snap("revealed"); diff --git a/test/process/tty_terminals.zig b/test/process/tty_terminals.zig index 838b2aea..53050a18 100644 --- a/test/process/tty_terminals.zig +++ b/test/process/tty_terminals.zig @@ -427,7 +427,7 @@ fn ttytaken(gpa: std.mem.Allocator, exe: [:0]const u8) !void { // at the prompt: a command word in the terminal's own tag, executed, is // typed into its shell. `:` opens the tag, `A` appends, and the execute key // runs the word under the cursor. - try t.key(":"); + try t.key(": :"); try t.key("A"); try t.key("space"); try t.send("@`echo TAKEN''ONE`"); @@ -451,7 +451,7 @@ fn ttytaken(gpa: std.mem.Allocator, exe: [:0]const u8) !void { try t.stable(400, 5000); try t.snap("paging"); // the same gesture from that terminal: a command pane, not `less` keystrokes - try t.key(":"); + try t.key(": :"); try t.key("A"); try t.key("space"); try t.send("@`echo TAKEN''TWO`"); |
