added configurable terminal size

This commit is contained in:
Ulrich Hornung
2024-02-25 18:54:10 +01:00
committed by Gustavo Noronha Silva
parent 13a82c8532
commit ea2a03b1fb
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