mirror of
https://github.com/profanity-im/profanity.git
synced 2024-12-04 14:46:46 -05:00
Do not print newline when curs position 0
This commit is contained in:
parent
5576b88a04
commit
79f618367d
@ -1034,7 +1034,10 @@ _win_print(ProfWin *window, const char show_char, int pad_indent, GDateTime *tim
|
||||
}
|
||||
|
||||
if ((flags & NO_EOL) == 0) {
|
||||
wprintw(window->layout->win, "\n");
|
||||
int curx = getcurx(window->layout->win);
|
||||
if (curx != 0) {
|
||||
wprintw(window->layout->win, "\n");
|
||||
}
|
||||
}
|
||||
|
||||
if (me_message) {
|
||||
|
Loading…
Reference in New Issue
Block a user