From 0c3f1694ad547d734b332b1f69620e8df7bcf97c Mon Sep 17 00:00:00 2001 From: Gabriel Schneider Date: Thu, 1 Oct 2026 12:44:43 -0300 Subject: 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 --- docs/typ/scripting.typ | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'docs/typ/scripting.typ') 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 -- cgit v1.3