summaryrefslogtreecommitdiff
path: root/examples/noc/src/flow_field.zig
diff options
context:
space:
mode:
authorGabriel Schneider <[email protected]>2026-11-17 07:48:52 -0300
committerGabriel Schneider <[email protected]>2026-11-17 12:15:01 -0300
commitfad609ddb13cbc0f33150fc3a9dfc25051641cd8 (patch)
tree3a73204fc822065623d2977fae501b61c2ea38ac /examples/noc/src/flow_field.zig
parented185f305731309cbddb981166678a552f2fda84 (diff)
downloadsketchbook-fad609ddb13cbc0f33150fc3a9dfc25051641cd8.tar.gz
sketchbook-fad609ddb13cbc0f33150fc3a9dfc25051641cd8.zip
examples/live: the editor's text drawn, its ranges, caret and mode
One function, `code`, draws what the editor holds over the picture on a dark band: its lines, every range under its bytes (the primary stronger than the rest), a caret at each range's head that says the mode (a block in normal and select mode, a bar in insert mode, the primary's brighter), and the mode's name (NOR, INS, SEL) in the corner before the replay's state and the time; the problem as before, a red mark under its byte and its words under the text. One face at one size, so a byte of this ASCII language is a column of a fixed advance: marked ponytail as the place sketchbook's paragraph call (spans, any byte's place) takes. zig build test: 81 of 81 steps, 6 of 6 tests (test/live.script's screenshots compare the picture, and the sought moment's code band with the live one's). Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_016Y9MNBECMWcJD5pdS4SR6T
Diffstat (limited to 'examples/noc/src/flow_field.zig')
0 files changed, 0 insertions, 0 deletions