Clear wrapping point at alignment tab
This fixes odd wrapping when a nick contains a hyphen and there are no further wrapping points.
This commit is contained in:
bovenliggende
1cc61723c9
commit
53f23942a4
1
buffer.c
1
buffer.c
@ -141,6 +141,7 @@ static int flow(struct Lines *hard, int cols, const struct Line *soft) {
|
||||
|
||||
if (tab && width < cols) {
|
||||
align = width;
|
||||
wrap = NULL;
|
||||
}
|
||||
if (iswspace(wc) && !tab) {
|
||||
wrap = str;
|
||||
|
Laden…
x
Verwijs in nieuw issue
Block a user