summaryrefslogtreecommitdiff
path: root/src/ShaderBuild.zig
diff options
context:
space:
mode:
authorGabriel Schneider <[email protected]>2026-09-30 16:43:44 -0300
committerGabriel Schneider <[email protected]>2026-10-01 00:12:17 -0300
commit319325b74f3c97cad9988faebc7c6afda26cad08 (patch)
tree8b12f6862c0906fbc39f1d5b9ac100688833978d /src/ShaderBuild.zig
parent79fb1b77b8c9993fb36c250daf36970807f767c9 (diff)
downloadpardes-319325b74f3c97cad9988faebc7c6afda26cad08.tar.gz
pardes-319325b74f3c97cad9988faebc7c6afda26cad08.zip
A 9P write scrolls only the view: dot moves as acme's textinsert moves it, never to the end of the write
writeData, flushBatch and writeBody showed what they wrote with showOffset, which put the cursor at the write's end. The cursor is dot's head, so a data write or a body append moved dot there, and a `sel` write after it replaced the wrong text. showOffset now scrolls the view to the offset and leaves the cursor, pinned, where it was. Dot shifts only by the rule it already followed, acme's: an insert before dot shifts it, one at its start or inside it grows it, one at its end or after it leaves it. The test covers each case, then a body append followed by a sel write. Co-Authored-By: Claude Opus 5.5 <[email protected]>
Diffstat (limited to 'src/ShaderBuild.zig')
0 files changed, 0 insertions, 0 deletions