diff options
Diffstat (limited to 'test/process/tty_terminals.zig')
| -rw-r--r-- | test/process/tty_terminals.zig | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/test/process/tty_terminals.zig b/test/process/tty_terminals.zig index 9f7c9308..896ac062 100644 --- a/test/process/tty_terminals.zig +++ b/test/process/tty_terminals.zig @@ -226,12 +226,13 @@ fn ttyhelp(gpa: std.mem.Allocator, exe: [:0]const u8) !void { // row 0, which is not a pane, so the terminal never saw it. try t.key("c-b"); try t.stable(600, 10000); + // SPC ? is Help in the focused pane's tag (pick-ui SPEC §4.5): a field + // typed in, the leaves it matches in rows under the tag, the cursor's + // documentation beside them. try t.key("space"); try t.key("?"); - // The bare-tty boot now opens an empty pane under the shell, so the index is - // half as tall: wait on a row that is on screen. What the leader route - // produced is the snapshot below, not this. - try t.wait(10000, "SPC ? Help"); + try t.send("tutor"); + try t.wait(10000, "SPC h t · Tutor · help"); try t.stable(700, 15000); try t.snap("leaderworks"); try t.done(); |
