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:
parent
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) {
|
if (tab && width < cols) {
|
||||||
align = width;
|
align = width;
|
||||||
|
wrap = NULL;
|
||||||
}
|
}
|
||||||
if (iswspace(wc) && !tab) {
|
if (iswspace(wc) && !tab) {
|
||||||
wrap = str;
|
wrap = str;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user