diff options
| author | Gabriel Schneider <[email protected]> | 2026-10-01 12:44:43 -0300 |
|---|---|---|
| committer | Gabriel Schneider <[email protected]> | 2026-10-01 12:44:43 -0300 |
| commit | 0c3f1694ad547d734b332b1f69620e8df7bcf97c (patch) | |
| tree | 741b992bcbe33b0da4e4996f5a6fa7e0fa1a65f6 /docs/typ/scripting.typ | |
| parent | 406d0bc6f1debe5d9de43a60ab0931d937845194 (diff) | |
| download | pardes-0c3f1694ad547d734b332b1f69620e8df7bcf97c.tar.gz pardes-0c3f1694ad547d734b332b1f69620e8df7bcf97c.zip | |
Prose that names a mouse button in words drops the glyph beside it, so a screen reader or text browser reads each click once
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Diffstat (limited to 'docs/typ/scripting.typ')
| -rw-r--r-- | docs/typ/scripting.typ | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/docs/typ/scripting.typ b/docs/typ/scripting.typ index fe9146fc..b3f5ca26 100644 --- a/docs/typ/scripting.typ +++ b/docs/typ/scripting.typ @@ -48,7 +48,7 @@ echo Save | wr pane/$n/ctl && gofmt -w "$f" && echo get | wr pane/$n/ctl `get` on a pane's ctl reloads its text from the file on disk. -Type `Fmt` into a Go pane's tag and click it with #btn("B2"); its output +Type `Fmt` into a Go pane's tag and middle-click it; its output shows in a command pane. To have `Fmt` in every Go file's tag, follow the log and add it to each new `.go` pane (with a mount): @@ -93,8 +93,7 @@ open stays open: read its #file("body") before you close it. In == Event helpers -Holding a pane's #file("event") open takes its #btn("B2") and #btn("B3") -clicks: they arrive as acme's records instead of acting, and writing a +Holding a pane's #file("event") open takes its middle- and right-clicks: they arrive as acme's records instead of acting, and writing a record back has pardes do it. A record is a line, `MX31 36 1 5 Upper`: who (`M` mouse, `K` keyboard, `E` or `F` a write to a file), what (`X` execute or `L` look in the body, `x` `l` in the tag), the range, a flag, the text's length and |
