summaryrefslogtreecommitdiff
path: root/src/term/echo.zig
diff options
context:
space:
mode:
Diffstat (limited to 'src/term/echo.zig')
-rw-r--r--src/term/echo.zig2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/term/echo.zig b/src/term/echo.zig
index d069fe36..9ea13111 100644
--- a/src/term/echo.zig
+++ b/src/term/echo.zig
@@ -533,7 +533,7 @@ fn blank(cp: u21) bool {
/// pardes's marks is trusted only once its echo is confirmed.
fn atPrompt(pane: *const Pane) bool {
const state = pane.terminal orelse return false;
- return state.vt.screens.active_key == .primary and state.stream.handler.phase == .input and terminal.promptInputReady(pane);
+ return state.vt.screens.active_key == .primary and state.stream.handler.phase == .input and terminal.prompt(state).input_ready;
}
/// The terminal view `view`'s keys go to, in tty mode: none when they go