about summary refs log tree commit diff
path: root/log.c
diff options
context:
space:
mode:
authorKlemens Nanni <klemens@posteo.de>2021-06-20 18:50:40 +0000
committerJune McEnroe <june@causal.agency>2021-06-21 18:11:09 -0400
commitb6cedf7dba67907200444aa7d54dea2065c7c210 (patch)
tree956366441d5776715beeb9c9ff66d5bbafa83343 /log.c
parentHandle EINTR from connect(2) gracefully (diff)
downloadcatgirl-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 '')
0 files changed, 0 insertions, 0 deletions