summaryrefslogtreecommitdiff
path: root/src/mini.zig
diff options
context:
space:
mode:
authorGabriel Schneider <[email protected]>2026-09-30 19:38:59 -0300
committerGabriel Schneider <[email protected]>2026-10-01 00:12:17 -0300
commit181170ff00a2019465b6401047407d9914b3b631 (patch)
tree6b49f04a1efe29491fa9d4cf23c3aecf5df84197 /src/mini.zig
parentb2886edda1a1630f38732975c04bdf4d6f6ded29 (diff)
downloadpardes-181170ff00a2019465b6401047407d9914b3b631.tar.gz
pardes-181170ff00a2019465b6401047407d9914b3b631.zip
An edit that changes nothing, an empty range deleted or a range replaced by what it holds, makes no undo step
A shell's : > data on an empty address, echo abc > data over abc, or Edit s/d/d/ each pushed an undo step and a new revision, so Undo spent a press on nothing and the pane read as edited. The splice of the 9P writes and the Edit builtin now see the text is unchanged and stop. Co-Authored-By: Claude Opus 5.5 <[email protected]>
Diffstat (limited to 'src/mini.zig')
0 files changed, 0 insertions, 0 deletions