diff options
| author | Gabriel Schneider <[email protected]> | 2026-11-04 20:54:21 -0300 |
|---|---|---|
| committer | Gabriel Schneider <[email protected]> | 2026-11-04 21:12:33 -0300 |
| commit | 0ff1fc99eb870f8a1e714a71c1a853066737c822 (patch) | |
| tree | 2c8b4720e2ed190e6f9062cfe8586c3da22aeb42 /src/builtins_json.zig | |
| parent | 3b082687c7da1c5d8cc52c71fdf4ddd38d860cd8 (diff) | |
| download | pardes-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/builtins_json.zig')
| -rw-r--r-- | src/builtins_json.zig | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/builtins_json.zig b/src/builtins_json.zig index 3402b2ee..f5543dba 100644 --- a/src/builtins_json.zig +++ b/src/builtins_json.zig @@ -1,4 +1,4 @@ -//! Every builtin as JSON, for the docs' glossary (docs/typ/builtins-tty.json +//! Every builtin as JSON, for the docs' glossary (docs/typ/builtins-tui.json //! and builtins-gui.json, a build's list each; style.typ merges them): //! the rows the `Help` builtin draws (pardes.builtin_rows: the leader path //! and the other shortcuts) with what /commands says of each word (its doc @@ -24,7 +24,7 @@ pub fn write(w: *std.Io.Writer) !void { var len: usize = 0; // This build's own frontend's words (a desktop build has the other's // too, which a view of its kind takes: builtins.zig `here`). - for (pardes.builtin_rows, 0..) |row, i| if (pardes.builtins.registry.hereFor(row.cmd, pardes.builtins.frontend, pardes.platform != .tty)) { + for (pardes.builtin_rows, 0..) |row, i| if (pardes.builtins.registry.hereFor(row.cmd, pardes.builtins.frontend, pardes.platform != .tui)) { all[len] = .{ .name = @tagName(row.cmd), .row = i }; len += 1; }; @@ -77,7 +77,7 @@ test "docs/typ/builtins-<platform>.json is what the registry says now" { // Linux builds' lists if (comptime @import("builtin").os.tag != .linux) return error.SkipZigTest; const file = switch (pardes.platform) { - .tty => "builtins-tty.json", + .tui => "builtins-tui.json", .gui => "builtins-gui.json", else => return error.SkipZigTest, }; |
