summaryrefslogtreecommitdiff
path: root/src/panes.zig
diff options
context:
space:
mode:
Diffstat (limited to 'src/panes.zig')
-rw-r--r--src/panes.zig4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/panes.zig b/src/panes.zig
index 0380f89f..a395d6ed 100644
--- a/src/panes.zig
+++ b/src/panes.zig
@@ -124,6 +124,10 @@ pub const Pane = struct {
/// A command pane (exec.zig runCommand): the line its child runs as
/// `$SHELL -c`, owned, where an interactive terminal has null.
command: ?[]u8 = null,
+ /// The pane whose tag or text the command was run from, its child's
+ /// `$winid` (acme's name); 0 for one from a column's or the workspace's
+ /// tag, which no pane owns.
+ command_from: u32 = 0,
/// The command's child has exited, and with what status (null: unknown,
/// shown `exit ?`).
command_done: bool = false,