summaryrefslogtreecommitdiff
path: root/src/host_io.zig
diff options
context:
space:
mode:
Diffstat (limited to 'src/host_io.zig')
-rw-r--r--src/host_io.zig6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/host_io.zig b/src/host_io.zig
index 3b91ea7e..5cdf6e0d 100644
--- a/src/host_io.zig
+++ b/src/host_io.zig
@@ -1456,7 +1456,7 @@ pub const Shell = struct {
return true;
}
- /// Why `bin` is no shell, for the words that name one (Tty, Shell);
+ /// Why `bin` is no shell, for the words that name one (Term, Shell);
/// null when it is one.
pub fn refusal(bin: []const u8, said: []u8) ?[]const u8 {
var buf: [std.fs.max_path_bytes]u8 = undefined;
@@ -2003,7 +2003,7 @@ pub fn forkShell(
};
var master: c_int = -1;
var path_buf: [std.fs.max_path_bytes]u8 = undefined;
- // A terminal opened on a shell of its own (`Tty fish`) runs that one,
+ // A terminal opened on a shell of its own (`Term fish`) runs that one,
// copied: looking it up gives the turn up, and the pane may go.
var own_buf: [256]u8 = undefined;
var own: ?[]const u8 = null;
@@ -2225,7 +2225,7 @@ pub fn marksPrompts(pid: libc.pid_t) bool {
}
/// The program `pid` runs, where the system says (an adopted shell's, for
-/// its pane's Tty word); null elsewhere.
+/// its pane's Term word); null elsewhere.
pub fn processExe(pid: libc.pid_t, buf: []u8) ?[]const u8 {
if (comptime builtin.os.tag == .freebsd) {
const n = kernProc(pid, 12, buf) orelse return null; // KERN_PROC_PATHNAME