diff options
author | Klemens Nanni <klemens@posteo.de> | 2021-06-20 18:50:40 +0000 |
---|---|---|
committer | June McEnroe <june@causal.agency> | 2021-06-21 18:11:09 -0400 |
commit | b6cedf7dba67907200444aa7d54dea2065c7c210 (patch) | |
tree | 956366441d5776715beeb9c9ff66d5bbafa83343 /complete.c | |
parent | Handle EINTR from connect(2) gracefully (diff) | |
download | catgirl-b6cedf7dba67907200444aa7d54dea2065c7c210.tar.gz catgirl-b6cedf7dba67907200444aa7d54dea2065c7c210.zip |
Register SIGWINCH handler before TLS connect
Otherwise resizing the terminal will end catgirl until a handler is registered, e.g. while in ircConnect(): catgirl: tls_handshake: (null) Hoist registration right after uiInitEarly() as earliest possible point in main() since initscr(3) sets up various signals incl. SIGWINCH, i.e. initialise `cursesWinch' afterwards to pick up curses(3)'s handler.
Diffstat (limited to 'complete.c')
0 files changed, 0 insertions, 0 deletions