From 59006d18bb3119a3cdf6ff1494aebaf8bdc82dd9 Mon Sep 17 00:00:00 2001 From: "C. McEnroe" Date: Mon, 12 Oct 2020 19:25:08 -0400 Subject: Avoid eating C-c while connecting Split UI initialization into two steps either side of the call to connect, so that C-c works as interrupt while it's blocked. --- chat.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'chat.h') diff --git a/chat.h b/chat.h index 89d5797..19e4eeb 100644 --- a/chat.h +++ b/chat.h @@ -270,7 +270,8 @@ void commandCompleteAdd(void); enum Heat { Ice, Cold, Warm, Hot }; extern struct Util uiNotifyUtil; -void uiInit(void); +void uiInitEarly(void); +void uiInitLate(void); void uiShow(void); void uiHide(void); void uiDraw(void); -- cgit 1.4.0