summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorGabriel Schneider <[email protected]>2026-10-01 04:00:32 -0300
committerGabriel Schneider <[email protected]>2026-10-01 04:00:32 -0300
commit8dc84e6f9f1c3802f1d28de4d49907381cdf224b (patch)
tree3ed7727a61de9ae4c473413d81de3ac95844af78 /test
parenta4e17d350a7afdeee4916584c44c4770243c84e4 (diff)
downloadpardes-8dc84e6f9f1c3802f1d28de4d49907381cdf224b.tar.gz
pardes-8dc84e6f9f1c3802f1d28de4d49907381cdf224b.zip
pardes - asks /pager for its +Pager and reads the serial on the same open: another client's exec meanwhile can never take the text into its pane
pardes - wrote `pager <dir>` to /ctl, then read /exec on a fresh open, which answers the session's last answer: a client that exec'd in between had its pane overwritten by the paged text. /pager takes the directory and answers the +Pager's serial on the open that wrote it, as /pane/new answers its own open; the ctl verb is gone. Client.ask writes and reads on one open. The README's look recipe reads its answer on its own open too. Co-Authored-By: Claude Opus 5.5 <[email protected]>
Diffstat (limited to 'test')
-rw-r--r--test/fs.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/fs.py b/test/fs.py
index 2507e4f8..fcd779d1 100644
--- a/test/fs.py
+++ b/test/fs.py
@@ -164,7 +164,7 @@ def discovery(binary, embedded=False):
top = client.list('/')
# A set: which files the root holds, not the order a listing gives.
assert set(top) - {'src', 'shaders'} == {'README', 'index', 'status', 'focus', 'ctl', 'commands', 'recent',
- 'look', 'exec', 'log', 'screen', 'listeners', 'layout', 'tag', 'tagexec',
+ 'look', 'exec', 'pager', 'log', 'screen', 'listeners', 'layout', 'tag', 'tagexec',
'pane', 'col', 'os'}, top
assert 'self' not in top and 'cons' not in top and 'new' not in top, top
assert ('src' in top) == embedded, (top, embedded)