diff options
-rw-r--r-- | src/ui/window.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/ui/window.c b/src/ui/window.c index bfc992ae..1b811a8e 100644 --- a/src/ui/window.c +++ b/src/ui/window.c @@ -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) { |