diff options
| author | Gabriel Schneider <[email protected]> | 2026-07-06 21:18:35 -0300 |
|---|---|---|
| committer | Gabriel Schneider <[email protected]> | 2026-08-01 15:02:07 -0300 |
| commit | a373fdda0102a99cde988f87f822fc451e0f4391 (patch) | |
| tree | da16427e6353138dfaf5ed27152adc17f53efb12 /src/tutor.txt | |
| parent | f442004dcd8e91114765a918201ecabe99f69eeb (diff) | |
| download | pardes-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 'src/tutor.txt')
| -rw-r--r-- | src/tutor.txt | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/tutor.txt b/src/tutor.txt index 94a2a20e..4c162b97 100644 --- a/src/tutor.txt +++ b/src/tutor.txt @@ -73,7 +73,10 @@ THE TAG: each pane has a one-line tag: its MODE (NOR/INS/TTY) + directory or file path + builtins. File panes show "Save Del" by default; Save - writes the current file to disk, Del closes the window. Terminal and + writes the current file to disk, Del closes the window. Clicking a tag + edits it, ALWAYS in insert mode (a one-line tag has no use for normal + mode): type straight in, Enter looks / Tab executes the word at the + cursor, Esc hands focus back to the body. Terminal and image panes show "Del". "Delcol" still exists as a command: type it in a tag or body and execute it to close the whole column. A SEPARATE bar across the top of the screen holds the window-agnostic builtins: |
