summaryrefslogtreecommitdiff
path: root/src/panes.zig
diff options
context:
space:
mode:
Diffstat (limited to 'src/panes.zig')
-rw-r--r--src/panes.zig5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/panes.zig b/src/panes.zig
index 70b461eb..d4b336d7 100644
--- a/src/panes.zig
+++ b/src/panes.zig
@@ -99,8 +99,9 @@ pub const Pane = struct {
/// middle click, a pty/run): its first word, which Kill matches, and
/// the shell's command count its start (C mark) reaches.
sent_command: ?struct { word: [64]u8 = undefined, len: u8 = 0, seq: u32 = 0 } = null,
- /// The revision an Exit last warned this pane was modified at.
- exit_warned: ?u32 = null,
+ /// The revision an Exit or a Restore last warned this pane was modified
+ /// at (builtins.zig warnModified).
+ discard_warned: ?u32 = null,
/// Native host queues the Linux v9fs launcher in this pane's initial shell.
v9fs_on_spawn: bool = false,
file: ?File.State = null,