diff options
| author | Gabriel Schneider <[email protected]> | 2026-09-30 23:58:54 -0300 |
|---|---|---|
| committer | Gabriel Schneider <[email protected]> | 2026-10-01 00:12:18 -0300 |
| commit | 3815a0bfad5818e2caf85a00c0c2d3aecc13bd1c (patch) | |
| tree | dfb1920c13ac0e113d9294c96f86d36ecf95bbc9 /test/agent_session_test.py | |
| parent | 03ace1893d1a4b509c209e4e8ca023f7261e5cb9 (diff) | |
| download | pardes-3815a0bfad5818e2caf85a00c0c2d3aecc13bd1c.tar.gz pardes-3815a0bfad5818e2caf85a00c0c2d3aecc13bd1c.zip | |
pardes - reads stdin into a +Pager pane, and is a terminal's PAGER and GIT_PAGER, Pager pardes|off to opt out; command panes page through cat
A paging command in a terminal, or run through its pty/run, sat in
less, and a pty/run never answered. `pardes -` now reads stdin to its
end, strips terminal escapes (colour, OSC, overstrike), and shows it:
inside a session as a clean <cwd>/+Pager pane made through pane/new and
back at once, outside one as a new editor whose first pane it is, as
`vim -` does. A terminal's shell gets PAGER and GIT_PAGER set to this
pardes's own path and `-` where the user's environment sets neither;
`Pager off`, a setting in /ctl, init and DumpConfig, leaves terminals
started after it to the environment. A command pane's one-shot shell
keeps cat, its output being a pane already.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Diffstat (limited to 'test/agent_session_test.py')
0 files changed, 0 insertions, 0 deletions
