mirror of
https://git.jabber.space/devs/cproof.git
synced 2026-07-26 11:06:21 +00:00
Do not print newline when curs position 0
This commit is contained in:
@@ -1034,7 +1034,10 @@ _win_print(ProfWin *window, const char show_char, int pad_indent, GDateTime *tim
|
|||||||
}
|
}
|
||||||
|
|
||||||
if ((flags & NO_EOL) == 0) {
|
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) {
|
if (me_message) {
|
||||||
|
|||||||
Reference in New Issue
Block a user