diff options
author | Karel Zak | 2016-06-02 12:31:45 +0200 |
---|---|---|
committer | Karel Zak | 2016-06-02 12:31:45 +0200 |
commit | 8f0ac5792191499292a2d23c8ebd743695af70b7 (patch) | |
tree | 0f4d515176e0376e9a71fd897d52706ddf740c71 /include | |
parent | tests: check for mount(8) in minix test (diff) | |
download | kernel-qcow2-util-linux-8f0ac5792191499292a2d23c8ebd743695af70b7.tar.gz kernel-qcow2-util-linux-8f0ac5792191499292a2d23c8ebd743695af70b7.tar.xz kernel-qcow2-util-linux-8f0ac5792191499292a2d23c8ebd743695af70b7.zip |
lib/ttyutils: use stdout for get_terminal_width()
We use the function to be sure with *output* width. Note that the
current code (with STDIN) is broken because in some situations
libsmartcols is not able to detect terminal width and fall back to
default 80.
Signed-off-by: Karel Zak <kzak@redhat.com>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions