Keep the behavior of it not line-breaking, but don't change it to a
space character when displaying. This is so copy-paste from the pager
will preserve the nbsp, which is semantically important in some
locales.
{
space = ch;
}
- /* no-break space, narrow no-break space */
- else if (CharsetIsUtf8 && (wc == 0x00A0 || wc == 0x202F))
- {
- /* Convert non-breaking space to normal space. The local variable
- * `space' is not set here so that the caller of this function won't
- * attempt to wrap at this character. */
- wc = ' ';
- }
t = wcwidth(wc);
if (col + t > wrap_cols)
break;