summaryrefslogtreecommitdiff
path: root/src/gui/gui.zig
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/gui.zig')
-rw-r--r--src/gui/gui.zig10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/gui/gui.zig b/src/gui/gui.zig
index 50baf9ec..15347eb6 100644
--- a/src/gui/gui.zig
+++ b/src/gui/gui.zig
@@ -2672,7 +2672,7 @@ const Client = struct {
}
/// Its own view drawn in the window, outside any step, as the tty's
- /// client draws its terminal (tty.zig `Remote.draw`): what presenting
+ /// client draws its terminal (tui.zig `Remote.draw`): what presenting
/// writes in the core (a frame skipped, one owed) is put back.
fn draw(cl: *Client, s: *Shell) void {
const r = cl.link.r;
@@ -4205,10 +4205,10 @@ const Shell = struct {
windowed: u8 = 1,
/// This wait took only a replica's post (its input, its join): the pump
/// after it reads no new time, so it moves nothing the replicas'
- /// speculations stand on (tty.zig's `mail_only`).
+ /// speculations stand on (tui.zig's `mail_only`).
mail_only: bool = false,
waited: bool = false,
- /// With replica clients, a wait takes one person's input (tty.zig
+ /// With replica clients, a wait takes one person's input (tui.zig
/// `split`): the next is held for the next wait.
took_input: bool = false,
held: ?c.SDL_Event = null,
@@ -4399,7 +4399,7 @@ const Shell = struct {
}
/// With replica clients, a wait takes one person's input and its pump
- /// makes one unit of it (tty.zig `split`): whether `sev`, a second, is
+ /// makes one unit of it (tui.zig `split`): whether `sev`, a second, is
/// held for the next wait. Any event but a wake is no replica's post.
fn split(s: *Shell, sev: *const c.SDL_Event) bool {
if (sev.type != c.SDL_EVENT_USER) s.mail_only = false;
@@ -4574,7 +4574,7 @@ const Shell = struct {
}
/// One shell of a dead session (`pid` 0: the last of them was told):
- /// a terminal pane made for it, as the Tty word makes one, whose spawn
+ /// a terminal pane made for it, as the Term word makes one, whose spawn
/// takes this pty (spawnPane).
fn adoptShell(s: *Shell, pid: libc.pid_t, fd: c_int) void {
const core = s.core;