summaryrefslogtreecommitdiff
path: root/abi
diff options
context:
space:
mode:
Diffstat (limited to 'abi')
-rw-r--r--abi/term.zig4
1 files changed, 3 insertions, 1 deletions
diff --git a/abi/term.zig b/abi/term.zig
index 31f155e8..e84d6998 100644
--- a/abi/term.zig
+++ b/abi/term.zig
@@ -78,7 +78,9 @@ pub const Prompt = struct {
finished: ?Finished = null,
/// The cursor is at a prompt's input, on either screen.
input_ready: bool = false,
- /// ...and nothing is typed on its line up to the cursor.
+ /// ...and nothing is typed on its line up to the cursor, nor on the
+ /// line above when a newline in the input began this one (a line taken
+ /// whose command has not started yet).
input_empty: bool = false,
/// The cursor is on a prompt's row or at its input, on the primary
/// screen.