summaryrefslogtreecommitdiff
path: root/src/panes.zig
diff options
context:
space:
mode:
Diffstat (limited to 'src/panes.zig')
-rw-r--r--src/panes.zig3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/panes.zig b/src/panes.zig
index 9234912f..29fe0cb0 100644
--- a/src/panes.zig
+++ b/src/panes.zig
@@ -113,6 +113,9 @@ pub const Pane = struct {
/// shown `exit ?`).
command_done: bool = false,
command_status: ?u8 = null,
+ /// Its pty is still open: a job the command left in the background may
+ /// be printing to it, and a reuse would hang it up.
+ command_pty: bool = false,
/// The shell a terminal runs when it is not the configured one (`Tty
/// fish`), owned.
shell: ?[]u8 = null,