aboutsummaryrefslogtreecommitdiffstats
path: root/xlibtest.c
diff options
context:
space:
mode:
authorTomasz Kramkowski <tk@the-tk.com>2015-06-11 22:37:34 +0100
committerTomasz Kramkowski <tk@the-tk.com>2015-06-11 22:37:34 +0100
commit0dc36e29dd1e65b22745ffe4b348047e36f38d1b (patch)
treef544bb54381ab11c5d9c237476be0eeb47e9ad22 /xlibtest.c
parent2ca65abe1cf7825184116982fedb6aa991540d24 (diff)
downloadc-stuff-0dc36e29dd1e65b22745ffe4b348047e36f38d1b.tar.gz
c-stuff-0dc36e29dd1e65b22745ffe4b348047e36f38d1b.tar.xz
c-stuff-0dc36e29dd1e65b22745ffe4b348047e36f38d1b.zip
timer.c: Use SIGWINCH handler to get term_width when changed.
timer.c no longer spams ioctl TIOCGWINSZ 4 times a second, it now handles SIGWINCH and sets a file scope variable to the width.
Diffstat (limited to 'xlibtest.c')
0 files changed, 0 insertions, 0 deletions