From 6494946d53bf7f55d87e41eb40cfb59bf293ec1f Mon Sep 17 00:00:00 2001 From: ailin-nemui Date: Mon, 20 Mar 2017 16:51:32 +0100 Subject: [PATCH] fix initial screen draw (bdo#856201) --- src/fe-text/irssi.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/fe-text/irssi.c b/src/fe-text/irssi.c index ad79e0c4..01d0b9d4 100644 --- a/src/fe-text/irssi.c +++ b/src/fe-text/irssi.c @@ -192,6 +192,9 @@ static void textui_finish_init(void) fe_perl_init(); #endif + /* Redraw the screen before emitting "irssi init finished" + signal, so we have input entry created if someone wants to + change prompt. */ dirty_check(); fe_common_core_finish_init(); @@ -313,6 +316,7 @@ int main(int argc, char **argv) g_log_set_always_fatal(loglev); textui_finish_init(); main_loop = g_main_new(TRUE); + dirty_check(); /* draw the screen prior to the first wait poll */ /* Does the same as g_main_run(main_loop), except we can call our dirty-checker after each iteration */