From 24546dd7241de7d2af7cae06b1a7900fa9c3eb40 Mon Sep 17 00:00:00 2001 From: Přemysl Janouch Date: Tue, 12 May 2015 07:02:14 +0200 Subject: degesch: refresh prompt on dis/connection --- degesch.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/degesch.c b/degesch.c index f45a649..e7310c9 100644 --- a/degesch.c +++ b/degesch.c @@ -3049,6 +3049,8 @@ on_irc_disconnected (struct server *s) s->manual_disconnect = false; else irc_queue_reconnect (s); + + refresh_prompt (s->ctx); } static void @@ -3263,6 +3265,7 @@ irc_finish_connection (struct server *s, int socket) irc_reset_connection_timeouts (s); irc_register (s); + refresh_prompt (s->ctx); } static void -- cgit v1.2.3-70-g09d2