Files
LLeMbas-TTY/docs
Wez Furlong dc36fe18f4 term: adjust logical line wrapping behavior
Really, this is adjusting the logical line breaking behavior, or the
lack thereof.

The situation is this: conpty can decided to reinterpret and flush
large sections of its buffer as a continuous stream of unbroken
characters with no breaks when it repaints the full screen.

When we receive such an update, we see it as one long logical line,
and when we subsequently select multiple lines we can run into the
maximum logical line length and insert invalid synthetic line breaks
into the data that we send to the clipboard.

This commit adjusts the wrapping logic at the time that we receive
the text so that we don't tag the line as a logical line continuation
if:

* The alt screen is active. Full screen apps will re-render on resize
  anyway, and we don't reflow long lines on resize either for the same
  reasons

* If we are talking to ConPTY:
     * If the last character in the line is not alphanumeric or
       punctuation (in other words: it doesn't look plausibly like
       text that should be a line continuation).

refs: #3278
refs: #3177
2023-03-22 19:13:26 -07:00
..
2023-03-22 18:24:30 -07:00
2023-02-07 16:32:42 -07:00
2023-02-25 18:19:47 -07:00
2023-03-15 20:54:02 -07:00
2023-02-25 18:19:47 -07:00
2023-03-15 20:54:02 -07:00

This directory contains the sources for the documentation. Read the generated documentation at: https://wezfurlong.org/wezterm