diff options
Diffstat (limited to 'docs/typ')
| -rw-r--r-- | docs/typ/reference.typ | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/docs/typ/reference.typ b/docs/typ/reference.typ index cb2df2a8..b515e1b2 100644 --- a/docs/typ/reference.typ +++ b/docs/typ/reference.typ @@ -572,7 +572,9 @@ drawn: glyph art (`on`) or pixels (`off`). With no graphics it is always colours the glyph art uses, the C64's (`commodore`) or the terminal theme's own 16 (#word("Palette") toggles it); `ascii` is whether the printable ASCII bitmaps join the glyph set the matcher picks from -(#word("Ascii") toggles it). #word("Palette") and ascii only change the glyph art. +(#word("Ascii") toggles it). #word("Palette") and ascii only change the glyph art, +which the frontend draws: a tui without graphics always, a window when +#word("Petscii") is on. #word("Petscii") and #word("Ascii") (`on|off`) and #word("Palette") (`commodore|terminal`) take the value their tag word shows and set it, as a PDF's #word("PdfFit") (`width|height`) and #word("PdfTint") @@ -931,7 +933,13 @@ at 200, ending in `…`. Control characters become spaces. row 5. Cells are #file("/screen")'s. - #file("/screen"): JSON `cols`, `rows`, `cursor`, `styles`, and row-major `cells` of `[grapheme, style_index]`; one frame per open. Compare a - cell's style through `styles`, not the index. + cell's style through `styles`, not the index. A frame with pictures + (an image, a PDF's pages, a terminal program's kitty images) has + `images` too, a `{serial, rect, src, key, petscii}` each: the pane, the + cells it lies over (`[x, y, w, h]`), the part of its pixels shown, a + key naming those pixels, and whether its pane asks for glyph art. The + cells under a picture are the pane's ground: the glyph art a terminal + without graphics shows there is drawn by the frontend, not the core. - #file("/commands"): `Word [arg] root|pane|both [values] -- sentence`, one a line, generated from the builtin registry (`both`: #word("Edit"), at the active pane from the root). |
