Don't consider the alignment tab a wrapping point
This commit is contained in:
vanhempi
17898622e3
commit
1563eb7d56
2
buffer.c
2
buffer.c
@ -136,7 +136,7 @@ static int flow(struct Lines *hard, int cols, const struct Line *soft) {
|
||||
|
||||
if (width <= cols) {
|
||||
if (tab && width < cols) align = width;
|
||||
if (iswspace(wc)) wrap = str;
|
||||
if (iswspace(wc) && !tab) wrap = str;
|
||||
if (*str == '-') wrap = &str[1];
|
||||
str += n;
|
||||
continue;
|
||||
|
Ladataan…
x
Viittaa uudesa ongelmassa
Block a user