Revert "Only treat the first tab as the alignment point"
This reverts commit 5881a96638b63475bf48d506dbb659c481279790.
This commit is contained in:
parent
8b7cc1a0ed
commit
71b0536536
2
ui.c
2
ui.c
@ -383,7 +383,7 @@ static void wordWrap(WINDOW *win, const char *str) {
|
|||||||
int align = 0;
|
int align = 0;
|
||||||
struct Style style = Reset;
|
struct Style style = Reset;
|
||||||
while (*str) {
|
while (*str) {
|
||||||
if (*str == '\t' && !align) {
|
if (*str == '\t') {
|
||||||
waddch(win, ' ');
|
waddch(win, ' ');
|
||||||
getyx(win, y, align);
|
getyx(win, y, align);
|
||||||
str++;
|
str++;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user