diff options
| author | Gabriel Schneider <[email protected]> | 2026-07-10 17:32:43 -0300 |
|---|---|---|
| committer | Gabriel Schneider <[email protected]> | 2026-08-01 15:02:07 -0300 |
| commit | 685b8c8e74c9edbdf701594f50ff1b70ac288ec9 (patch) | |
| tree | f303bd5e1f422030c2c645ea2d6c3a393990fb5e /src/tutor.txt | |
| parent | ddc2eefb1e7cdd402593efb1297c25fc7ae4b110 (diff) | |
| download | pardes-685b8c8e74c9edbdf701594f50ff1b70ac288ec9.tar.gz pardes-685b8c8e74c9edbdf701594f50ff1b70ac288ec9.zip | |
web snapshots: add switch for saving/loading exports, update web version, web snapshot tooling
Diffstat (limited to 'src/tutor.txt')
| -rw-r--r-- | src/tutor.txt | 24 |
1 files changed, 21 insertions, 3 deletions
diff --git a/src/tutor.txt b/src/tutor.txt index 7a8c7026..e2dfb123 100644 --- a/src/tutor.txt +++ b/src/tutor.txt @@ -66,6 +66,20 @@ opens/focuses a terminal there and ls's it; a file opens a file pane (scrolled to a ":line" suffix if present). + WEB TOUCH (one finger): a tap is LOOK, the same action as R; a drag + past a small movement threshold is natural scrolling. + Once a gesture becomes a scroll it cannot also LOOK on + release. The browser has no host filesystem or ptys: + LOOK opens URLs or read-only Pardes .zig sources that + were Git-tracked and embedded when the web build was made. + The published launcher is a real Pardes terminal dump of + `git ls-files '*.zig'`: every listed path opens, and the + opened source uses tree-sitter syntax colors. + A touch beginning on a tagline or pane separator instead + latches a left-mouse gesture, so layout drags never scroll. + Touch circles/trails and the LOOK flash appear only while + the Debug builtin is on. + SELECT-THEN-ACT: - MIDDLE-drag over text selects AND runs it on release (one gesture); a no-drag middle click auto-expands to the word under the cursor. @@ -119,9 +133,9 @@ - the scrollbar is the gutter below the box: left-click scrolls UP to that point, right-click scrolls DOWN - (Mouse actions are hard to unit-test from text; they're covered by - the e2e suite: middle-click execute, right-click dir/file open, tag - builtins, drag-rearrange. See tests.zig steps 6-8.) + (Mouse actions are hard to unit-test from text; native gestures are + covered by the e2e suite. Browser touch and embedded-source LOOK are + driven through real Chromium input by `zig build web-snap`.) ================================================================= @@ -418,6 +432,10 @@ 2-1 = middle-exec with the left selection as argument file tag = mode + path + "Save Del"; other tags show Del top bar = Kill Newcol Tutor Debug Colors NextColor + WEB TOUCH: one-finger tap = LOOK; drag = natural scroll + LOOK opens URLs or embedded tracked .zig source (read-only) + published TTY dump lists every source; tree-sitter colors it + tag/separator start = left drag; touch HUD requires Debug TTY: a terminal IS a pane; Ctrl-b toggles the live shell by default, landing its cursor where you navigated (prompt start if the input is empty, mid-text otherwise) |
