summaryrefslogtreecommitdiff
path: root/docs/typ/scripting.typ
diff options
context:
space:
mode:
Diffstat (limited to 'docs/typ/scripting.typ')
-rw-r--r--docs/typ/scripting.typ5
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