summaryrefslogtreecommitdiff
path: root/docs/typ
diff options
context:
space:
mode:
authorGabriel Schneider <[email protected]>2026-11-05 12:35:31 -0300
committerGabriel Schneider <[email protected]>2026-11-05 15:18:26 -0300
commite65ada6bfab3e3851281be253b5e8187b652b66b (patch)
tree8eda0b933dd1c1c0e1310963b1be0000d01281e7 /docs/typ
parentba3c654472ee0dd9fb5d39dd24063c07a44c6752 (diff)
downloadpardes-e65ada6bfab3e3851281be253b5e8187b652b66b.tar.gz
pardes-e65ada6bfab3e3851281be253b5e8187b652b66b.zip
the Pet back, the window's alone: src/gui/pet.zig and the window's pet overlay return as they were (the workspace tag's blank end, the tag's colours, now read from the Surface's chrome, its walk and hop on the window's own clock, SDL_GetTicks), and Pet is a plain setting now, a choice of off, cat or frog the window reads (config.Runtime.pet, a byte with no state behind it, dumped and replicated as any setting, in /ctl and DumpConfig as `Pet <name>`, and as `# Pet unsupported` where no window draws it, so an init file shared with a terminal loads there clean); its behaviour test and the appearance gallery's pets return
Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_016Y9MNAtZenFv4weoMD3cge
Diffstat (limited to 'docs/typ')
-rw-r--r--docs/typ/builtins-gui.json1
-rw-r--r--docs/typ/reference.typ1
2 files changed, 2 insertions, 0 deletions
diff --git a/docs/typ/builtins-gui.json b/docs/typ/builtins-gui.json
index aedbb3a6..fbfcfd3c 100644
--- a/docs/typ/builtins-gui.json
+++ b/docs/typ/builtins-gui.json
@@ -81,6 +81,7 @@
{"name": "PdfFit", "leader": "SPC t z", "also": [], "arg": true, "scope": "pane", "setting": false, "choices": null, "doc": "Fit the PDF page to the pane by width or by height, flipping between them (or to the one named, `width|height`)."},
{"name": "PdfSections", "leader": "SPC t s", "also": [], "arg": false, "scope": "pane", "setting": false, "choices": null, "doc": "List the PDF's sections in a pane, each a place to go."},
{"name": "PdfTint", "leader": "SPC t i", "also": [], "arg": true, "scope": "pane", "setting": false, "choices": null, "doc": "Tint the PDF page to the theme, or show it as printed, stepping through them (or to the one named, `disabled|filtered|full`)."},
+ {"name": "Pet", "leader": null, "also": [], "arg": true, "scope": "root", "setting": true, "choices": "off, cat, frog", "doc": "The window's companion in the workspace tag's blank space: off, cat or frog."},
{"name": "Petscii", "leader": "SPC t p", "also": [], "arg": true, "scope": "pane", "setting": false, "choices": null, "doc": "glyph art over the host's pixels: an image pane's picture, or the kitty graphics a terminal's program placed (yazi's previews)"},
{"name": "ProgramEsc", "leader": null, "also": [], "arg": true, "scope": "root", "setting": true, "choices": "on, off", "doc": "In a raw terminal, Esc goes to the program and Shift-Esc backs out, on; off (the default) swaps them."},
{"name": "Putall", "leader": null, "also": [], "arg": false, "scope": "root", "setting": false, "choices": null, "doc": "acme's Putall: every pane holding unsaved edits to a file is saved, each as its own Save; one that is refused (changed on disk since, a write that fails) says so and the rest are saved all the same."},
diff --git a/docs/typ/reference.typ b/docs/typ/reference.typ
index dc8e1f36..90bea27a 100644
--- a/docs/typ/reference.typ
+++ b/docs/typ/reference.typ
@@ -447,6 +447,7 @@ word clicked in a tag does. The same lines go in the startup file
[#word("TaglineSize") `<1-100>`], [82: tagline face, percent; SDL and macOS],
[#word("WindowOpacity") `<0-100>`], [100; SDL only: everything but text and the cursor],
[#word("Ligatures")], [on; SDL only, macOS draws CoreText's own],
+ [#word("Pet") `off|cat|frog`], [off; SDL only: a sprite in the workspace tag's blank space],
)
#word("LocationsConfig") with no argument prints the current settings as a line