summaryrefslogtreecommitdiff
path: root/term.zig
diff options
context:
space:
mode:
Diffstat (limited to 'term.zig')
-rw-r--r--term.zig1
1 files changed, 1 insertions, 0 deletions
diff --git a/term.zig b/term.zig
index a69e8c4d..a07469e7 100644
--- a/term.zig
+++ b/term.zig
@@ -21,6 +21,7 @@ pub const Sel = struct {
pub const Term = @This();
pty: std.Io.File,
+pid: std.posix.pid_t, // the shell child; used to read /proc/<pid>/cwd for the tag
term: ghostty_vt.Terminal,
stream: ghostty_vt.TerminalStream,
reader: std.Io.Future(anyerror!void),