diff options
author | Přemysl Janouch <p.janouch@gmail.com> | 2016-10-12 22:21:15 +0200 |
---|---|---|
committer | Přemysl Janouch <p.janouch@gmail.com> | 2016-10-12 22:21:15 +0200 |
commit | a63db9d9784d445befa35cbdf800f926f157b949 (patch) | |
tree | 70d8fab2b82aff93fd929bc97d3e0639a9e75357 | |
parent | 1f811d903e990ccc6c9d80718afbdfb6c379efe0 (diff) | |
download | tdv-a63db9d9784d445befa35cbdf800f926f157b949.tar.gz tdv-a63db9d9784d445befa35cbdf800f926f157b949.tar.xz tdv-a63db9d9784d445befa35cbdf800f926f157b949.zip |
Fix regression in GLib message handler
-rw-r--r-- | src/sdtui.c | 4 |
1 files changed, 2 insertions, 2 deletions
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 |