]> git.ipfire.org Git - thirdparty/util-linux.git/commit
irqtop: simplify terminal resizing
authorKarel Zak <kzak@redhat.com>
Wed, 4 Mar 2020 13:47:20 +0000 (14:47 +0100)
committerKarel Zak <kzak@redhat.com>
Wed, 4 Mar 2020 13:47:20 +0000 (14:47 +0100)
commit642f6cb0cb2bc3f4f56c55673c77edddbcee1f54
tree51781790c3aae511ba85c0ca4cdb370bc5063204
parent6f99d9d61367ca5856073b5e5db0f191c0de7b1e
irqtop: simplify terminal resizing

* don't care about term size and attrs when runs only once
* explicitly define signals
* resize immediately after SIGWINCH (to keep it nice for users)

Signed-off-by: Karel Zak <kzak@redhat.com>
sys-utils/irqtop.c