summaryrefslogtreecommitdiff
path: root/next-steps.txt
diff options
context:
space:
mode:
authorGabriel Schneider <[email protected]>2026-07-06 20:43:40 -0300
committerGabriel Schneider <[email protected]>2026-08-01 15:02:07 -0300
commit513938c1cfb216a3bc4a3559cf7731b8e44a952f (patch)
tree7b711c30ea6ebc255a1d691223b2cb93cd7dedf2 /next-steps.txt
parentd0ba070a87c54c538e5f788485391b0af927d0fb (diff)
downloadpardes-513938c1cfb216a3bc4a3559cf7731b8e44a952f.tar.gz
pardes-513938c1cfb216a3bc4a3559cf7731b8e44a952f.zip
dumps: per-user data dir + timestamped names; Restore builtin loads a dump into the live session. dump.outPath resolves $PARDES_DUMP verbatim (the snapshot harness pins /tmp/pardes-dump.zon so dump/load/restore goldens stay deterministic), else $XDG_DATA_HOME|~/.local/share /pardes/pardes-YYYYMMDD-HHMMSS.zon (dir mkdir-ed; wall clock via libc clock_gettime — std.time.timestamp is gone in 0.16). After write_dump the shell reports the written path back (core.setLastDump) and the topbar grows "Restore <path>": middle-clicking Restore reloads the last dump, and "Restore <path>" executed anywhere takes the path as its first argument (onSelect prefix match). Core stays sans-IO: the builtin stashes restore_req; each shell consumes takeRestore() after drainEffects and swaps in initFromDump at the current screen size (pre-sized: dump panes never greet), tearing down the live ptys (tty: cancel reader + close + gen bump; gui: SIGKILL, the gen-guarded eof closes the old fds). Web ignores it. New restore.snap golden: KEEPME survives the restore, GONESOON echoed after Dump does not, the topbar word appears then resets. 29/29.
Diffstat (limited to 'next-steps.txt')
-rw-r--r--next-steps.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/next-steps.txt b/next-steps.txt
index 09a48f08..ef7b06a2 100644
--- a/next-steps.txt
+++ b/next-steps.txt
@@ -9,7 +9,7 @@
- the cursor's line number in the gutter gets a different bg/fg (tagline style)
- opening a file at a specific line centers the line if possible
- keyboard movement implements scroll_offset (vim/helix scrolloff)
-- generalize n/N: look the next/prev tty line that yields a look result (search becomes a special case)
+- REWORK n/N on tty: n/N only MOVE the selection between lookable whitespace-tokens (multiple per line, e.g. ls output: AAAA.txt -> BBBB.txt), opening nothing; Return looks the selected token (dir -> listed terminal, file -> pane); navigation continues with n/N+Return in what opened
- dumps go to a per-user data dir (zig stdlib app-data path), not /tmp, with timestamped filenames so they never overwrite; new Restore builtin loads a dump file (first argument)
- horizontal scroll: no scrollbar, just horizontal mouse wheel + modal movements (scrolloff applies); minimal, goal is only to read the whole text
- cursor looks different in insert vs normal mode, in all pane types (tty and file); the tagline is always insert mode (normal makes no sense there)