summaryrefslogtreecommitdiff
path: root/src/esp32p4.zig
diff options
context:
space:
mode:
authorGabriel Schneider <[email protected]>2026-11-04 20:54:21 -0300
committerGabriel Schneider <[email protected]>2026-11-04 21:12:33 -0300
commit0ff1fc99eb870f8a1e714a71c1a853066737c822 (patch)
tree2c8b4720e2ed190e6f9062cfe8586c3da22aeb42 /src/esp32p4.zig
parent3b082687c7da1c5d8cc52c71fdf4ddd38d860cd8 (diff)
downloadpardes-0ff1fc99eb870f8a1e714a71c1a853066737c822.tar.gz
pardes-0ff1fc99eb870f8a1e714a71c1a853066737c822.zip
rename: the terminal frontend is the tui (-Dplatform=tui, src/tui/tui.zig, --tui with --tty kept as its old spelling, the process tests' backend .tui and --backend=tui, docs/typ/builtins-tui.json, the Settings report's platform), and the builtin Tty is Term (its registry entry, SPC n t, every default tag, the docs, tests and snap scripts), Tty still run as Term through exec.acme_words, Tty+fish too on a tag and a ctl; tty as a pane's raw mode and as the OS's terminal unchanged
Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_016Y9MNAtZenFv4weoMD3cge
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();