1
Fork 0
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:
Ulrich Hornung 2024-02-25 18:54:10 +01:00
parent a4d5defeef
commit d8b3b41850
No known key found for this signature in database
GPG key ID: 64EA3BAAF1BC0603
2 changed files with 56 additions and 15 deletions

View file

@ -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