summaryrefslogtreecommitdiff
path: root/docs/fs.md
diff options
context:
space:
mode:
authorGabriel Schneider <[email protected]>2026-09-28 14:43:17 -0300
committerGabriel Schneider <[email protected]>2026-10-01 00:12:15 -0300
commitada81f05127506dec0dbb7af390cb43fd0da9d40 (patch)
tree6559fe9446530528dbd62b37a4dbf9d70c331736 /docs/fs.md
parentdef16a1bc1c71d2fdcc7954e2ddec1384c2f05f7 (diff)
downloadpardes-ada81f05127506dec0dbb7af390cb43fd0da9d40.tar.gz
pardes-ada81f05127506dec0dbb7af390cb43fd0da9d40.zip
A reused command pane leaves the last program's screen modes before the next command
A program that crashed out of a full screen left the command pane's emulator in the alternate screen with mouse reports, bracketed paste or a hidden cursor on, and the next command ran in that. Before the '% line' separator the pane now leaves the alternate screen, turns those modes off and soft-resets (DECSTR). The docs add that a command which clears the screen and its scrollback erases the pane's history above it. Co-Authored-By: Claude Opus 5.5 <[email protected]>
Diffstat (limited to 'docs/fs.md')
-rw-r--r--docs/fs.md5
1 files changed, 4 insertions, 1 deletions
diff --git a/docs/fs.md b/docs/fs.md
index 3efc5b36..ebc85f12 100644
--- a/docs/fs.md
+++ b/docs/fs.md
@@ -240,7 +240,10 @@ same tree without leaving the process.
which shows its output and then `exit N` (its tag reads `<dir> (<line>)
running`, then `exit N`), and stays. The directory's next command runs in
that pane once it is done, below what it showed, after a `% <line>` line;
- one still running gets a second pane. A command pane's own exec starts
+ one still running gets a second pane. Before the next command the pane
+ leaves any alternate screen and turns off the modes a program left on
+ (mouse reports, bracketed paste, a hidden cursor); a command that clears
+ the screen and its scrollback (`clear`, ED3) erases the history above it. A command pane's own exec starts
the next command there too. The log says `run <serial> <word>` and `exit
<serial> <N|?>`; `exec` reads back the command pane's serial; Kill ends
its whole process group; a line is at most 1 KB. A misspelled word is a