diff options
| author | Gabriel Schneider <[email protected]> | 2026-07-08 05:35:09 -0300 |
|---|---|---|
| committer | Gabriel Schneider <[email protected]> | 2026-08-01 15:02:07 -0300 |
| commit | 146944accb5852c548e25c7194b2865531e67cbb (patch) | |
| tree | 532be12c0e5b4c8ff8bfafc6712f7011fd98784b /test/snapshots/argv.snap | |
| parent | 2826704c7f829b5b5375ed2bf7414b455d3b0735 (diff) | |
| download | pardes-146944accb5852c548e25c7194b2865531e67cbb.tar.gz pardes-146944accb5852c548e25c7194b2865531e67cbb.zip | |
argv positionals: bare pardes boots the shell pane in tty mode, a FILE arg (file:LINE works) opens it focused in the left column with a greeting terminal on the launch dir at right, a DIRECTORY arg chdirs so shells spawn there. New argv.snap; boot/restore.snap pin -n 1 to keep the classic boot.
Diffstat (limited to 'test/snapshots/argv.snap')
| -rw-r--r-- | test/snapshots/argv.snap | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/test/snapshots/argv.snap b/test/snapshots/argv.snap new file mode 100644 index 00000000..1c3c9f78 --- /dev/null +++ b/test/snapshots/argv.snap @@ -0,0 +1,26 @@ +# argv: bare `pardes` boots one shell already in tty mode; a FILE argument +# opens it focused in the left column (file:LINE scrolls there) with a +# terminal greeting on the launch dir in the right; a DIRECTORY argument +# becomes the cwd the shell spawns in +lines notes.txt 8 +file zmarker.txt x +start 30 100 +wait 8000 $ +stable 700 20000 +text echo ARGV''TTY +key enter +wait 8000 ARGVTTY +stable 700 10000 +snap noargs +start 30 100 notes.txt:3 +wait 8000 Kill Newcol +wait 8000 zmarker.txt +stable 700 20000 +snap filearg +dirmk sub +file sub/inside.txt marker +start 30 100 sub +wait 8000 Kill Newcol +wait 8000 inside.txt +stable 700 20000 +snap dirarg |
