diff options
| author | Gabriel Schneider <[email protected]> | 2026-08-05 15:32:57 -0300 |
|---|---|---|
| committer | Gabriel Schneider <[email protected]> | 2026-08-10 09:17:07 -0300 |
| commit | 68d208e1a0ff37eaef4a2a97b04797a1a6df277c (patch) | |
| tree | 9cf72c6e1cf89e7e4feae66723c64ee59c95127c /test/snapshots/argv.snap | |
| parent | 6eaa81710fee8ee2191a0b967b069bb01952be2e (diff) | |
| download | pardes-68d208e1a0ff37eaef4a2a97b04797a1a6df277c.tar.gz pardes-68d208e1a0ff37eaef4a2a97b04797a1a6df277c.zip | |
boot a file argument alone
Diffstat (limited to 'test/snapshots/argv.snap')
| -rw-r--r-- | test/snapshots/argv.snap | 16 |
1 files changed, 12 insertions, 4 deletions
diff --git a/test/snapshots/argv.snap b/test/snapshots/argv.snap index a60be24c..b2ebff2d 100644 --- a/test/snapshots/argv.snap +++ b/test/snapshots/argv.snap @@ -1,7 +1,7 @@ # 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 +# opens it ALONE, filling the window (file:LINE scrolls there) — naming a file +# is asking to read it, not to be handed a shell beside it; a DIRECTORY +# argument becomes the cwd the shell spawns in lines notes.txt 8 file zmarker.txt x start 30 100 @@ -14,9 +14,17 @@ stable 700 10000 snap noargs start 30 100 notes.txt:3 wait 8000 New Newcol -wait 8000 zmarker.txt +wait 8000 line 3 stable 700 20000 snap filearg +# -n and a FILE are not a combination: the file names the whole boot layout, so +# `-n 3` boots the very same single pane (it always did — the file arm never +# looked at the count; before this it merely also stapled a shell to the right) +start 30 100 -n 3 notes.txt +wait 8000 New Newcol +wait 8000 line 1 +stable 700 20000 +snap filearg-n3 dirmk sub file sub/inside.txt marker start 30 100 sub |
