summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorGabriel Schneider <[email protected]>2026-09-29 00:45:33 -0300
committerGabriel Schneider <[email protected]>2026-10-01 00:12:15 -0300
commite563be42a5b3e9243e2c01d34cf8e94d2047b753 (patch)
treed71c8265c353f41cdb49b20f3a7e4d6e8d9baab2 /docs
parent0fe78621cc0db8b835ebcb7c51bbd2d20d6dbcc2 (diff)
downloadpardes-e563be42a5b3e9243e2c01d34cf8e94d2047b753.tar.gz
pardes-e563be42a5b3e9243e2c01d34cf8e94d2047b753.zip
A terminal's body reads as logical lines, the last one ending in a newline
A terminal's body came back as the screen's rows, a long line cut where the terminal wrapped it and the last line with no newline. The body (and a terminal's Save, and the length its ctl reports) now joins wrapped rows by ghostty's wrap flags, as pty/run's output does, and ends the last line with a newline. Co-Authored-By: Claude Opus 5.5 <[email protected]>
Diffstat (limited to 'docs')
-rw-r--r--docs/fs.md6
1 files changed, 5 insertions, 1 deletions
diff --git a/docs/fs.md b/docs/fs.md
index a5d3c4ca..a4fec333 100644
--- a/docs/fs.md
+++ b/docs/fs.md
@@ -375,7 +375,11 @@ selection, and leaves `look` reading back empty.
`/pane/<n>/name` reads the pane's file name (a terminal's directory) and
writing it renames the buffer; a relative name resolves against the pane's
-directory. `body` appends on write and replaces on truncating open. `sel`
+directory. `body` appends on write and replaces on truncating open. A
+terminal's `body` is its history as plain text, frozen per open, in logical
+lines: a row the terminal wrapped is joined back to the row before it (the
+wrap is ghostty's, as `pty/run`'s output unwraps), and the last line ends
+with a newline. `sel`
reads the selected text and writing it replaces the selection. `errors`
appends to the directory's `+Errors` pane. Holding `event` open redirects the
pane's Look and Exec clicks to that client, and so does a line written to the