summaryrefslogtreecommitdiff
path: root/test/snapshots/tag.golden
diff options
context:
space:
mode:
authorGabriel Schneider <[email protected]>2026-07-06 21:18:35 -0300
committerGabriel Schneider <[email protected]>2026-08-01 15:02:07 -0300
commita373fdda0102a99cde988f87f822fc451e0f4391 (patch)
treeda16427e6353138dfaf5ed27152adc17f53efb12 /test/snapshots/tag.golden
parentf442004dcd8e91114765a918201ecabe99f69eeb (diff)
downloadpardes-a373fdda0102a99cde988f87f822fc451e0f4391.tar.gz
pardes-a373fdda0102a99cde988f87f822fc451e0f4391.zip
insert vs normal cursor shape (all pane types) + the tag is always insert mode. Surface.cursor grew a bar flag: the core sets it from the active pane mode (insert -> bar; normal/tty -> block) for both the modal/file cursor and the vt-tracking terminal cursor, and unconditionally for the tag cursor. tty shell: DECSCUSR via vaxis setCursorShape (beam for insert, the terminal default otherwise). gui shell: the insert cursor draws the left-eighth-block glyph in cell colors instead of the reverse-video block (ponytail: it hides the char under it; a dedicated quad if that ever matters). Tag editing: enterTagEdit goes straight to insert, Esc (or anything that exits the tag) restores the body normal mode; Enter looks / Tab executes the word at the cursor from inside the tag (tagChordText kept); the whole normal-mode tag machinery — handleTagKey motions, v/x selection, d/c/y/p, tagEnterInsert/tagDelete/tagYank/tagPaste — deleted as unreachable (~120 lines; multi-word tag execution stays the mouse middle-drag). tag.snap rewritten: INS on click, type/backspace straight in, Esc exit with the text persisting, Enter-look opens the file. Tutor documents it. Cursor SHAPE is not capturable by the harness (position only) — verify by eye: bar in insert/tags, block elsewhere, both shells. 30/30.
Diffstat (limited to 'test/snapshots/tag.golden')
-rw-r--r--test/snapshots/tag.golden90
1 files changed, 14 insertions, 76 deletions
diff --git a/test/snapshots/tag.golden b/test/snapshots/tag.golden
index 9632ab6a..2765c044 100644
--- a/test/snapshots/tag.golden
+++ b/test/snapshots/tag.golden
@@ -1,6 +1,6 @@
== snap tag-focus grid=100x30 cursor=34,1
|Kill Newcol Tutor Debug Colors NextColor Dump
-| NOR /tmp/pardes-snap/tag/cwd Del NOR /tmp/pardes-snap/tag/cwd Del
+| INS /tmp/pardes-snap/tag/cwd Del NOR /tmp/pardes-snap/tag/cwd Del
|
| t.txt t.txt
|
@@ -29,9 +29,9 @@
|
|
|
-== snap tag-typed grid=100x30 cursor=47,1
+== snap tag-typed grid=100x30 cursor=40,1
|Kill Newcol Tutor Debug Colors NextColor Dump
-| NOR /tmp/pardes-snap/tag/cwd Del echo TAG''OK NOR /tmp/pardes-snap/tag/cwd Del
+| INS /tmp/pardes-snap/tag/cwd Del t.txt NOR /tmp/pardes-snap/tag/cwd Del
|
| t.txt t.txt
|
@@ -60,13 +60,12 @@
|
|
|
-== snap tag-exec grid=100x30 cursor=46,1
+== snap tag-del grid=100x30 cursor=36,1
|Kill Newcol Tutor Debug Colors NextColor Dump
-| NOR /tmp/pardes-snap/tag/cwd Del echo TAG''OK NOR /tmp/pardes-snap/tag/cwd Del
+| INS /tmp/pardes-snap/tag/cwd Del t NOR /tmp/pardes-snap/tag/cwd Del
|
| t.txt t.txt
|
-| TAGOK
|
|
|
@@ -77,36 +76,6 @@
|
|
|
-| NOR /tmp/pardes-snap/tag/cwd Del
-|
-| t.txt
-|
-|
-|
-|
-|
-|
-|
-|
-|
-|
-|
-== snap tag-vsel grid=100x30 cursor=32,1
-|Kill Newcol Tutor Debug Colors NextColor Dump
-| NOR /tmp/pardes-snap/tag/cwd Del echo TAG''OK NOR /tmp/pardes-snap/tag/cwd Del
-|
-| t.txt t.txt
-|
-| TAGOK
-|
-|
-|
-|
-|
-|
-|
-|
-|
|
| NOR /tmp/pardes-snap/tag/cwd Del
|
@@ -122,44 +91,13 @@
|
|
|
-== style tag-vsel
-|0: 0-44 #969696,#2c2a3e, 45-99 d,#2c2a3e,
-|1: 0-1 d,#6e4fd0, 2-29 #969696,#2c2a3e, 30-32 #d8c8a8,#4a3a1e, 33-46 #969696,#2c2a3e, 47-49 d,#2c2a3e, 50-51 d,#383c54, 52-83 #969696,#2c2a3e, 84-99 d,#2c2a3e,
-|2: 0-1 d,#525252, 2-49 d,d, 50-51 d,#525252, 52-99 d,d,
-|3: 0-1 d,#525252, 2-49 d,d, 50-51 d,#525252, 52-99 d,d,
-|4: 0-1 d,#525252, 2-49 d,d, 50-51 d,#525252, 52-99 d,d,
-|5: 0-1 d,#525252, 2-49 d,d, 50-51 d,#525252, 52-99 d,d,
-|6: 0-1 d,#525252, 2-49 d,d, 50-51 d,#525252, 52-99 d,d,
-|7: 0-1 d,#525252, 2-49 d,d, 50-51 d,#525252, 52-99 d,d,
-|8: 0-1 d,#525252, 2-49 d,d, 50-51 d,#525252, 52-99 d,d,
-|9: 0-1 d,#525252, 2-49 d,d, 50-51 d,#525252, 52-99 d,d,
-|10: 0-1 d,#525252, 2-49 d,d, 50-51 d,#525252, 52-99 d,d,
-|11: 0-1 d,#525252, 2-49 d,d, 50-51 d,#525252, 52-99 d,d,
-|12: 0-1 d,#525252, 2-49 d,d, 50-51 d,#525252, 52-99 d,d,
-|13: 0-1 d,#525252, 2-49 d,d, 50-51 d,#525252, 52-99 d,d,
-|14: 0-1 d,#525252, 2-49 d,d, 50-51 d,#525252, 52-99 d,d,
-|15: 0-1 d,#525252, 2-49 d,d, 50-51 d,#525252, 52-99 d,d,
-|16: 0-1 d,#383c54, 2-33 #969696,#2c2a3e, 34-49 d,#2c2a3e, 50-51 d,#525252, 52-99 d,d,
-|17: 0-1 d,#525252, 2-49 d,d, 50-51 d,#525252, 52-99 d,d,
-|18: 0-1 d,#525252, 2-49 d,d, 50-51 d,#525252, 52-99 d,d,
-|19: 0-1 d,#525252, 2-49 d,d, 50-51 d,#525252, 52-99 d,d,
-|20: 0-1 d,#525252, 2-49 d,d, 50-51 d,#525252, 52-99 d,d,
-|21: 0-1 d,#525252, 2-49 d,d, 50-51 d,#525252, 52-99 d,d,
-|22: 0-1 d,#525252, 2-49 d,d, 50-51 d,#525252, 52-99 d,d,
-|23: 0-1 d,#525252, 2-49 d,d, 50-51 d,#525252, 52-99 d,d,
-|24: 0-1 d,#525252, 2-49 d,d, 50-51 d,#525252, 52-99 d,d,
-|25: 0-1 d,#525252, 2-49 d,d, 50-51 d,#525252, 52-99 d,d,
-|26: 0-1 d,#525252, 2-49 d,d, 50-51 d,#525252, 52-99 d,d,
-|27: 0-1 d,#525252, 2-49 d,d, 50-51 d,#525252, 52-99 d,d,
-|28: 0-1 d,#525252, 2-49 d,d, 50-51 d,#525252, 52-99 d,d,
-|29: 0-1 d,#525252, 2-49 d,d, 50-51 d,#525252, 52-99 d,d,
-== snap tag-del grid=100x30 cursor=30,1
+== snap tag-exit grid=100x30 cursor=4,4
|Kill Newcol Tutor Debug Colors NextColor Dump
-| NOR /tmp/pardes-snap/tag/cwdl echo TAG''OK NOR /tmp/pardes-snap/tag/cwd Del
+| NOR /tmp/pardes-snap/tag/cwd Del t.txt NOR /tmp/pardes-snap/tag/cwd Del
|
| t.txt t.txt
|
-| TAGOK
+|
|
|
|
@@ -184,18 +122,18 @@
|
|
|
-== snap tag-exit grid=100x30 cursor=4,6
+== snap tag-look grid=100x30 cursor=7,2
|Kill Newcol Tutor Debug Colors NextColor Dump
-| NOR /tmp/pardes-snap/tag/cwdl echo TAG''OK NOR /tmp/pardes-snap/tag/cwd Del
-|
-| t.txt t.txt
-|
-| TAGOK
+| NOR /tmp/pardes-snap/tag/cwd/t.txt Save Del NOR /tmp/pardes-snap/tag/cwd Del
+| 1 x
+| t.txt
|
|
|
|
+| INS /tmp/pardes-snap/tag/cwd Del t.txt
|
+| t.txt
|
|
|