Skip to content

Commit 77f340a

Browse files
author
MickMake
committed
Update cls
1 parent 07c02c4 commit 77f340a

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

bin/cls

+6
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,11 @@
22

33
# This is added because Mike needs his clear screen.
44

5+
LINES="$(tput lines)"
6+
LIMIT=$(expr "${LINES}" - 2)
57
clear
68
clear
9+
10+
# Make sure the window still exists.
11+
tput csr 1 $LIMIT
12+

0 commit comments

Comments
 (0)