diff options
author | C. McEnroe | 2020-10-12 19:25:08 -0400 |
---|---|---|
committer | C. McEnroe | 2020-10-12 19:25:08 -0400 |
commit | 59006d18bb3119a3cdf6ff1494aebaf8bdc82dd9 (patch) | |
tree | 6f9a14f4d4f086c32300e91583e279ae1d056714 /chat.h | |
parent | 53f23942a4711a0eeff005ff5714563e906df757 (diff) |
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.
Diffstat (limited to 'chat.h')
-rw-r--r-- | chat.h | 3 |
1 files changed, 2 insertions, 1 deletions
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); |