about summary refs log tree commit diff
path: root/scripts
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 /scripts
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
> 2019-07-11Use inline style rather than <b>, <i>, <u>June McEnroe 2019-07-11Factor out clearJune McEnroe 2019-07-11Add bright option to shottyJune McEnroe 2019-07-11Output <b>, <i>, <u> in shottyJune McEnroe 2019-07-10Ignore SM and RMJune McEnroe 2019-07-09Add shotty man page and build itJune McEnroe 2019-07-09Add up -cJune McEnroe 2019-07-09Add options for default colors to shottyJune McEnroe 2019-07-08Use char literals consistentlyJune McEnroe