mirror of
https://github.com/irssi/irssi.git
synced 2025-02-02 15:08:01 -05:00
If line was split from multiple spaces, irssi printed the spaces in the
beginning of the next line - which wasn't good if the next line was statusbar.. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2045 dbcabf3a-b0e7-0310-adc4-f8d773084564
This commit is contained in:
parent
2f02302f45
commit
1a80491f81
@ -401,6 +401,9 @@ static int view_line_draw(TEXT_BUFFER_VIEW_REC *view, LINE_REC *line,
|
|||||||
}
|
}
|
||||||
text++;
|
text++;
|
||||||
xpos++;
|
xpos++;
|
||||||
|
|
||||||
|
if (xpos == term_width)
|
||||||
|
text = text_newline;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (need_clrtoeol && xpos < term_width) {
|
if (need_clrtoeol && xpos < term_width) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user