diff options
| author | Gabriel Schneider <[email protected]> | 2026-09-30 19:23:38 -0300 |
|---|---|---|
| committer | Gabriel Schneider <[email protected]> | 2026-10-01 00:12:17 -0300 |
| commit | 109a558a0488f3269f1864985e9b3db5f58b9552 (patch) | |
| tree | 8a363ab1ceeabf5479683f9b7313c127b6bdb5ed /src/modal.zig | |
| parent | 045e9e748d02c0417263655999b459ad351916d7 (diff) | |
| download | pardes-109a558a0488f3269f1864985e9b3db5f58b9552.tar.gz pardes-109a558a0488f3269f1864985e9b3db5f58b9552.zip | |
A builtin for one kind of pane is refused on another with why: Petscii, Palette, Ascii, Filter, Togglettymode, the Pdf words, Mode and TreeContext
Each of these did nothing, silently, on the wrong kind of pane, so a
ctl or exec write of Palette to a text file answered ok as if it had
acted. A builtin now declares the one kind it is for (needs), the
registry reads it, and runBuiltinFrom refuses the rest before dispatch,
as Repl and Edit already refused theirs. Mode and TreeContext, which
take more than one kind, say their own refusal.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Diffstat (limited to 'src/modal.zig')
0 files changed, 0 insertions, 0 deletions
