diff options
Diffstat (limited to 'core/Stream.zig')
| -rw-r--r-- | core/Stream.zig | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/core/Stream.zig b/core/Stream.zig index 49329361..bcd4f4f8 100644 --- a/core/Stream.zig +++ b/core/Stream.zig @@ -1345,7 +1345,9 @@ test "Stream: a big text's declarations are parsed on a worker, never the loop, p.stream.cancelParse(); shell.q.deinit(); } + // `/` asks in the tag; Alt-Enter keeps it as the query pane (Prompt.zig). for ("/needle") |c| p.update(.{ .key = .{ .cp = c, .text = &[_]u8{c} } }); + p.update(.{ .key = .{ .cp = pardes.Key.enter, .alt = true } }); const qid = for (p.panes, 0..) |slot, i| { if (slot) |qp| if (qp.query != null) break i; } else return error.NoQueryPane; |
