diff options
| author | Gabriel Schneider <[email protected]> | 2026-09-28 15:35:43 -0300 |
|---|---|---|
| committer | Gabriel Schneider <[email protected]> | 2026-10-01 00:12:15 -0300 |
| commit | f2091c52e06b0935f69914ac2d76941361cbb969 (patch) | |
| tree | 18e19eec9765ae5b114779848dec02c58d1faa1f /test | |
| parent | 830e936da4aca7ea802a6a862fa40c0086defd2f (diff) | |
| download | pardes-f2091c52e06b0935f69914ac2d76941361cbb969.tar.gz pardes-f2091c52e06b0935f69914ac2d76941361cbb969.zip | |
A command pane echoes its first command as it does the later ones
Only a reused pane showed '% line' above its command, so the first command's
output stood with nothing saying what made it. Every command is echoed now,
the first too. The goldens of chordcut, cmdexit, cmdword and layout-open gain
that line and the rows below it move down one.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Diffstat (limited to 'test')
| -rw-r--r-- | test/snapshots/chordcut.golden | 7 | ||||
| -rw-r--r-- | test/snapshots/cmdexit.golden | 9 | ||||
| -rw-r--r-- | test/snapshots/cmdword.golden | 13 | ||||
| -rw-r--r-- | test/snapshots/layout-open.golden | 5 |
4 files changed, 19 insertions, 15 deletions
diff --git a/test/snapshots/chordcut.golden b/test/snapshots/chordcut.golden index 8bcf12b1..d5266717 100644 --- a/test/snapshots/chordcut.golden +++ b/test/snapshots/chordcut.golden @@ -31,10 +31,11 @@ |8: 2 2echo B''OO g.txt == snap execafter grid=120x31 cursor=25,8 |6: /tmp/pardes-snap/chordcut/cwd/f.txt * Save Tty Collapse D /tmp/pardes-snap/chordcut/cwd (echo B''OO) exit 0 Kill Sa -|7: 1 line 1 Exec BOO -|8: 2 2echo B''OO g.txt exit 0 +|7: 1 line 1 Exec % echo B''OO +|8: 2 2echo B''OO g.txt BOO +|9: 3 line 3 exit 0 == snap cancellook grid=120x31 cursor=25,8 -|7: 1 line 1 BOO +|7: 1 line 1 % echo B''OO == snap lookafter grid=120x31 cursor=7,13 |12: /tmp/pardes-snap/chordcut/cwd/g.txt Save Tty Collapse Del |13: 1 line 1 diff --git a/test/snapshots/cmdexit.golden b/test/snapshots/cmdexit.golden index 58412752..de95c383 100644 --- a/test/snapshots/cmdexit.golden +++ b/test/snapshots/cmdexit.golden @@ -6,9 +6,10 @@ | 2 exec </dev/null >/dev/null 2>&1; sleep 1; false == snap background grid=120x31 cursor=7,3 |17: /tmp/pardes-snap/cmdexit/cwd (sleep 30 & echo BG''STARTED) exit 0 Kill Save Collapse Del -|18: BGSTARTED -|19: exit 0 +|18: % sleep 30 & echo BG''STARTED +|19: BGSTARTED +|20: exit 0 == snap letgo grid=120x31 cursor=7,3 |17: /tmp/pardes-snap/cmdexit/cwd (exec </dev/null >/dev/null 2>&1; sleep 1; false) exit 1 Kill Save Collapse Del -|20: % exec </dev/null >/dev/null 2>&1; sleep 1; false -|21: exit 1 +|21: % exec </dev/null >/dev/null 2>&1; sleep 1; false +|22: exit 1 diff --git a/test/snapshots/cmdword.golden b/test/snapshots/cmdword.golden index 6911bcab..eec32bcb 100644 --- a/test/snapshots/cmdword.golden +++ b/test/snapshots/cmdword.golden @@ -5,13 +5,14 @@ | 1 @`echo ZZ''E` @`echo ZZ''L` Look p.txt @`Look .` == snap atexec grid=120x31 cursor=7,3 |17: /tmp/pardes-snap/cmdword/cwd (echo ZZ''E) exit 0 Kill Save Collapse Del -|18: ZZE -|19: exit 0 -== snap atlook grid=120x31 cursor=2,23 +|18: % echo ZZ''E +|19: ZZE +|20: exit 0 +== snap atlook grid=120x31 cursor=2,24 |17: /tmp/pardes-snap/cmdword/cwd (echo ZZ''L) exit 0 Kill Save Collapse Del -|20: % echo ZZ''L -|21: ZZL -|22: exit 0 +|21: % echo ZZ''L +|22: ZZL +|23: exit 0 == snap lookword grid=120x31 cursor=7,11 |10: /tmp/pardes-snap/cmdword/cwd/p.txt Save Tty Collapse Del |11: 1 just text diff --git a/test/snapshots/layout-open.golden b/test/snapshots/layout-open.golden index 672fb709..79492382 100644 --- a/test/snapshots/layout-open.golden +++ b/test/snapshots/layout-open.golden @@ -32,5 +32,6 @@ |22: 1 echo 'TTY'OK == snap ttydir grid=100x31 cursor=7,22 |10: /tmp/pardes-snap/layout-open/cwd/sub (echo 'TTY -|11: TTYOK -|12: exit 0 +|11: % echo 'TTY'OK +|12: TTYOK +|13: exit 0 |
