mirror of
https://github.com/RGBCube/uutils-coreutils
synced 2025-07-27 19:17:43 +00:00
added configurable terminal size
This commit is contained in:
parent
a4d5defeef
commit
d8b3b41850
2 changed files with 56 additions and 15 deletions
1
tests/fixtures/util/is_atty.sh
vendored
1
tests/fixtures/util/is_atty.sh
vendored
|
@ -14,6 +14,7 @@ fi
|
|||
|
||||
if [ -t 2 ] ; then
|
||||
echo "stderr is atty"
|
||||
echo "terminal size: $(stty size)"
|
||||
else
|
||||
echo "stderr is not atty"
|
||||
fi
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue