Replies: 1 comment
-
|
In the CLI we always preserve source newlines because the output is static and non‑interactive, so respecting the original formatting is usually what people want. In the TUI the default is to not preserve single newlines so paragraphs can reflow cleanly to the viewport width. Many Markdown files are hard‑wrapped at ~80 columns; if we preserved those newlines by default, the TUI would render choppy, short lines, make scrolling/line numbers more awkward, and look worse on resize. You can opt in to the original line breaks in the TUI with In short; CLI preserves newlines for fidelity; TUI defaults to reflow for readability, smoother scrolling, and better resizing. Opt-in available via flag or config. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Hello anyone reading this! Just curious why the default behavior of the TUI regarding new lines differs from the default behavior of the CLI. No issue here, but want to learn more.
Beta Was this translation helpful? Give feedback.
All reactions