VHS's xterm.js has its image addon on, and its recordings include the images, so the notes saying they show only the text chart were wrong.
- commit
- 3551fc18a8a9b65b8b2bb4067f07241838b61601
- parent
- 95de7f84b855e19db7670386162781de13de3591
- author
- Dami <dami.etoile@gmail.com>
- kind
- docs risk score 0.1 of 3, Jev's estimate
| M | Makefile | 4 | ++-- |
| M | demos/ | 4 | ++-- |
| M | docs/ | 5 | ++--- |
| M | docs/ | 3 | +-- |
@@ -117,8 +117,8 @@ oracle:
117117 # frame held). Needs vhs 0.12+ (go install118118 # github.com/charmbracelet/vhs@latest), ttyd and ffmpeg. The JEV demo119119 # talks to demos/fakejev, started here, never the real service.120-# Charts are drawn as text, as the tapes and README describe; VHS121-# records text, not images. DEMOS=jev renders just one. Each tape runs120+# VHS's ttyd has sixel on, so charts are recorded as the sixel images121+# 012 draws. DEMOS=jev renders just one. Each tape runs122122 # 012 with its theme set to the tape's Set Theme (setup.tape's unless it123123 # sets one), and in JetBrains Mono, served to VHS's browser in ttyd's124124 # page from e2e/testdata/fonts, so it needn't be installed@@ -1,7 +1,7 @@
11 # Charts: Insert > Chart (here from the palette) charts the table22 # around the active cell; the editor bar switches the type with3-# Left/Right, and the chart redraws as its data changes. Terminals with kitty graphics or sixel get a real4-# image; VHS records only the text layer, so this shows the text chart under it.3+# Left/Right, and the chart redraws as its data changes. VHS's terminal4+# has sixel on, so the chart is the sixel image 012 draws there.55 Output out/charts.gif66 Source lib/setup.tape77 Set Theme "Github"@@ -223,9 +223,8 @@ use the keyboard, and they reach commands through the palette (Ctrl+K)
223223 rather than counting menu items, so a new menu item doesn't break them.224224 Tapes that change settings set them for the run (`O12_KEYMAP=vim`)225225 rather than writing the config file the other tapes share. VHS's ttyd226-has sixel on, so 012 draws charts as sixel images, but VHS records only227-xterm.js's text layer: the recordings show the text chart each image228-covers ([Charts](../sheets/charts.md)).226+has sixel on, so 012 draws charts as sixel images and the recordings227+show them ([Charts](../sheets/charts.md)).229228 The nushell tapes need `nu`: `demos/lib/nu.tape` starts a session230229 without your config files, with a fixed prompt and 012 on the PATH, and231230 their data is in `demos/data`, so each recording comes out the same.@@ -52,8 +52,7 @@ on, such as VS Code with `terminal.integrated.enableImages`), the plot is
5252 a sixel image in the terminal's palette, in as many colors as it has5353 color registers. A sixel image is drawn over the finished screen, on top5454 of the text chart, which it covers whole: a terminal that lists sixel but55-doesn't show the image, or a recording of the text alone (VHS records56-xterm.js's text layer, not its image layer), shows the text chart. The55+doesn't show the image shows the text chart. The5756 image shows only where its whole plot area does: a chart scrolled partly5857 out of the grid, or under another chart, a menu or a dialog, is text5958 until it shows whole again, and the image is drawn again after