summary refs log tree commit diff
path: root/ui.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 /ui.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 'ui.c')
0 files changed, 0 insertions, 0 deletions
pan title='2021-02-07 22:21:59 -0500'>2021-02-07Add simple battery status and clock to xsessionJune McEnroe 2021-02-07Set cursor theme and sizeJune McEnroe 2021-02-07Use scrot for up -s if no screencaptureJune McEnroe 2021-02-07Enable mouse acceleration in XJune McEnroe 2021-02-07Set colours for Xt and cwmJune McEnroe 2021-02-07Set urgency on bell in xtermJune McEnroe 2021-02-07Add bindings for brightness controlJune McEnroe 2021-02-07Set X key repeat rateJune McEnroe 2021-02-07Bump font size to 12June McEnroe 2021-02-07Fully configure and rebind cwmJune McEnroe 2021-02-07Add BintiJune McEnroe 2021-02-07Finish configuring xtermJune McEnroe 2021-02-06Enable tapping, reverse scroll, set scaling in wsconsctlJune McEnroe 2021-02-06Set root window to black on purple snowJune McEnroe 2021-02-06Add xmodmap configurationJune McEnroe 2021-02-06Add initial OpenBSD X configurationJune McEnroe 2021-02-06Add xterm output to schemeJune McEnroe