mirror of
git://git.sv.gnu.org/nano.git
synced 2025-02-13 03:44:50 +03:00
![David Lawrence Ramsey](/assets/img/avatar_default.png)
Extend get_softwrap_breakpoint() to break softwrapped lines on whitespace when a flag is set. This flag is controlled by the new rcfile option "atblanks". The '>' characters marking two-column characters at the edge of the screen are disabled when it's on. If get_softwrap_breakpoint() can't find whitespace in screen range, it will break the line on the screen edge. (In this case, a blank can be on the last column of the screen, but text can't, so that a blank on the last column doesn't become invisible and possibly break the display.) This fulfills https://savannah.gnu.org/bugs/index.php?49959. Requested-by: Nicholas Boel <axxisd@gmail.com>