From a28b37fb04566c36759edab0da7b1f98dffa6808 Mon Sep 17 00:00:00 2001 From: Gabriel Schneider Date: Thu, 5 Nov 2026 11:09:06 -0300 Subject: 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 Claude-Session: https://claude.ai/code/session_016Y9MNAtZenFv4weoMD3cge --- src/builtins.zig | 14 -------------- 1 file changed, 14 deletions(-) (limited to 'src/builtins.zig') 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; -- cgit v1.3