]> git.tue.mpg.de Git - paraslash.git/commit
interactive: Honor SIGWINCH.
authorAndre Noll <maan@systemlinux.org>
Mon, 9 Apr 2012 01:02:59 +0000 (03:02 +0200)
committerAndre Noll <maan@systemlinux.org>
Sun, 18 Nov 2012 19:28:28 +0000 (20:28 +0100)
commit3ba7724e92b52f5933632ff7d948d0f9491440db
treed25490808cab1a63e1cce9351de8441d6b22cfca
parent56561c08cf6cfe28bccebc513bcec057d8bb9afa
interactive: Honor SIGWINCH.

For the upcoming single key mode of the i9e subsystem, we need to
know the width of the terminal.

This makes this information available to all functions in interactive.c
via the i9e_private structure. The new num_columns variable of this
structure is updated whenever i9e_signal_dispatch() is called with
sig_num equal to SIGWINCH.
interactive.c