summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/panes.zig5
1 files changed, 2 insertions, 3 deletions
diff --git a/test/panes.zig b/test/panes.zig
index 0a5674af..301568c1 100644
--- a/test/panes.zig
+++ b/test/panes.zig
@@ -2322,7 +2322,6 @@ const TerminalTests = struct {
// Tests asserting raw ANSI indices explicitly select helix, whose palette
// is inherited. Native-palette coverage lives in the overlay/eviction and
// trailing-blank tests and checks their concrete RGB values instead.
- const promptInputReady = panes.terminal.promptInputReady;
const forwardKey = pardes.keys.forwardKey;
const enterTty = pardes.keys.enterTty;
@@ -2448,14 +2447,14 @@ const TerminalTests = struct {
else => {},
};
p.update(.{ .output = .{ .pane = 0, .bytes = "\x1b]133;A;aid=pardes\x07prompt$ " } });
- try std.testing.expect(!promptInputReady(pane));
+ try std.testing.expect(!pardes.Term.prompt(pane.terminal).input_ready);
while (p.nextEffect()) |effect| switch (effect) {
.write => return error.GreetedDuringPrompt,
else => {},
};
p.update(.{ .output = .{ .pane = 0, .bytes = "\x1b]133;B;aid=pardes\x07" } });
- try std.testing.expect(promptInputReady(pane));
+ try std.testing.expect(pardes.Term.prompt(pane.terminal).input_ready);
var greeted = false;
while (p.nextEffect()) |effect| switch (effect) {
.write => |write| greeted = greeted or std.mem.eql(u8, write.bytes.slice(), "ls\r"),