diff options
| author | Gabriel Schneider <[email protected]> | 2026-07-31 01:18:53 -0300 |
|---|---|---|
| committer | Gabriel Schneider <[email protected]> | 2026-08-01 15:02:08 -0300 |
| commit | 8a7112f08e0ce93a37b177e3aa83637e1691b451 (patch) | |
| tree | 4a5fe4b0da18cf98cd91950a218ad4a6d324b0cc /src/web/libc/include/stdlib.h | |
| parent | a77e342eb7fa4add700a96a661226649e8c4763f (diff) | |
| download | pardes-8a7112f08e0ce93a37b177e3aa83637e1691b451.tar.gz pardes-8a7112f08e0ce93a37b177e3aa83637e1691b451.zip | |
Look and Exec are builtins like any other
Their only special feature is now the keys they are assigned. `Look main.zig`
typed in a tag is the same look a right click is; config.look_cmd/exec_cmd
point the two buttons and Enter/Tab at them, so retargeting Enter to Grep is
one line. actOnSelection — a hand-written cascade with the builtin dispatch
nested inside it — is gone, and the `button` parameter it threaded through five
KEYBOARD call sites went with it.
New syntax, spelled once in config.zig: @`ls -la` names a command to run
rather than a file to open. Word expansion takes the quoted run whole, the way
acme does for its own </|/> words, so a click inside one does not hand Look the
fragment `ls`.
And it nests: @`Look .` unwraps, re-enters the dispatcher, and looks at the
directory. Guarded at depth 8, which is unreachable today (every re-entry
strips a word or a delimiter pair, so the string strictly shrinks) and exists
for a future syntax that does not shrink.
leader_path is now optional: a builtin may have no SPC path when its shortcut
is a key and a mouse button. New golden cmdword; the other 59 unmoved.
Diffstat (limited to 'src/web/libc/include/stdlib.h')
0 files changed, 0 insertions, 0 deletions
