summaryrefslogtreecommitdiff
path: root/src/builtins.zig
diff options
context:
space:
mode:
authorGabriel Schneider <[email protected]>2026-11-05 11:09:06 -0300
committerGabriel Schneider <[email protected]>2026-11-05 15:12:36 -0300
commita28b37fb04566c36759edab0da7b1f98dffa6808 (patch)
tree440e9b4a32321c4c79874132de743e2ac31d9606 /src/builtins.zig
parent11204e1206f7f7ffeaa861c1a442a312e563d3ed (diff)
downloadpardes-a28b37fb04566c36759edab0da7b1f98dffa6808.tar.gz
pardes-a28b37fb04566c36759edab0da7b1f98dffa6808.zip
effects out, Pet: src/gui/pet.zig, the Pet word and setting, the window's pet overlay (the triangle overlay holds the cursor's quad alone) and the DumpConfig `# Pet` line go; the root ctl reads LocationsConfig through DumpConfig's writer, so ctl.zig writes no settings line of its own; the Pet behaviour test goes, what it pinned besides the pet (a GUI-only builtin refused at a pane's exec in a terminal's view) now in the GUI-only settings test, with Fonts; the appearance gallery loses its pets
Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_016Y9MNAtZenFv4weoMD3cge
Diffstat (limited to 'src/builtins.zig')
-rw-r--r--src/builtins.zig14
1 files changed, 0 insertions, 14 deletions
diff --git a/src/builtins.zig b/src/builtins.zig
index c7b427f5..39ad9d7b 100644
--- a/src/builtins.zig
+++ b/src/builtins.zig
@@ -1632,20 +1632,6 @@ pub const Changelog = struct {
}
};
-/// An optional SDL workspace-tag companion; never consumes input or text cells.
-pub const Pet = struct {
- pub const scope: Scope = .session;
- pub const takes_arg = true;
- pub const requires_arg = true;
- pub const enabled = desktop;
- pub const gui_only = true;
- pub const in_window = true;
- pub fn run(c: Ctx) void {
- const name = std.mem.trim(u8, c.arg orelse return, " \t\r\n");
- c.p.settings.pet = std.meta.stringToEnum(@TypeOf(c.p.settings.pet), name) orelse return;
- }
-};
-
/// Open a minimap of the file in braille dots.
pub const Mini = struct {
pub const takes_arg = true;