Only treat the first tab as the alignment point

weechat-hashes
C. McEnroe 2020-02-07 20:29:32 -05:00
parent aed762368d
commit 5881a96638
1 changed files with 1 additions and 1 deletions

2
ui.c
View File

@ -368,7 +368,7 @@ static void wordWrap(WINDOW *win, const char *str) {
int align = 0;
struct Style style = Reset;
while (*str) {
if (*str == '\t') {
if (*str == '\t' && !align) {
waddch(win, ' ');
getyx(win, y, align);
str++;