From a63db9d9784d445befa35cbdf800f926f157b949 Mon Sep 17 00:00:00 2001 From: Přemysl Janouch Date: Wed, 12 Oct 2016 22:21:15 +0200 Subject: Fix regression in GLib message handler --- src/sdtui.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/sdtui.c b/src/sdtui.c index bf6283e..a3285fe 100644 --- a/src/sdtui.c +++ b/src/sdtui.c @@ -994,11 +994,10 @@ app_show_message (Application *self, const gchar *lines[], gsize len) if (x < 0) x = 0; - move (TOP_BAR_CUTOFF + i, x); - RowBuffer buf; row_buffer_init (&buf, self); row_buffer_append (&buf, *lines, 0); + move (TOP_BAR_CUTOFF + i, x); row_buffer_finish (&buf, -1, 0); lines++; @@ -1964,6 +1963,7 @@ log_handler_curses (Application *self, const gchar *message) RowBuffer buf; row_buffer_init (&buf, self); row_buffer_append (&buf, message, A_REVERSE); + move (0, 0); row_buffer_finish (&buf, COLS, A_REVERSE); RESTORE_CURSOR -- cgit v1.2.3-70-g09d2