summaryrefslogtreecommitdiff
path: root/src/esp32p4.zig
diff options
context:
space:
mode:
Diffstat (limited to 'src/esp32p4.zig')
-rw-r--r--src/esp32p4.zig10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/esp32p4.zig b/src/esp32p4.zig
index 683d19e1..074ca6b3 100644
--- a/src/esp32p4.zig
+++ b/src/esp32p4.zig
@@ -386,8 +386,8 @@ fn drainInput(c: *pardes.Pardes, force: bool) void {
} else esc_held_at = null;
}
-/// One parsed vaxis event applied to the core. Mirrors the tty shell's `apply`
-/// (`src/tty/tty.zig:926-985`), minus everything that needs an OS.
+/// One parsed vaxis event applied to the core. Mirrors the tui shell's `apply`
+/// (`src/tui/tui.zig:926-985`), minus everything that needs an OS.
fn apply(c: *pardes.Pardes, ev: vaxis.Event) void {
switch (ev) {
.key_press => |key| if (in_paste) {
@@ -466,7 +466,7 @@ fn apply(c: *pardes.Pardes, ev: vaxis.Event) void {
}
},
// The only way this platform learns its size, and the one place a 384 KiB heap shows through
- // to the user. Two things happen here that the tty shell does not need.
+ // to the user. Two things happen here that the tui shell does not need.
//
// CLAMPED, because the grids do not fit an arbitrary terminal: vaxis keeps a `Screen` and an
// `InternalScreen`, pardes keeps its own `Surface` and `previous_cells`, so every cell is
@@ -595,9 +595,9 @@ fn gpioToggle(_: ?*anyopaque, pin: u16, was: *u8, now: *u8) bool {
return f(out_ctx, pin, was, now);
}
-/// The canonical surface -> the wire. Same shape as the tty shell's (`src/tty/tty.zig:1096`) minus
+/// The canonical surface -> the wire. Same shape as the tui shell's (`src/tui/tui.zig:1096`) minus
/// the panel compositor and the kitty image path: neither has a reason to exist on a board with no
-/// pixels. Where the tty shell hands every cell to vaxis and lets it diff, this diffs against the
+/// pixels. Where the tui shell hands every cell to vaxis and lets it diff, this diffs against the
/// Surface itself and can then emit the ANSI directly - see `direct_emit`.
fn present(_: ?*anyopaque, surface: *const pardes.Surface) void {
const t0 = cycles();