Use escape sequences rather than tput
[advent-of-code-2019.git] / day13 / screen.sh
index 3bc395625169bfcc23918a1888545f20525a6aa8..e447c2a2636b6d34c304e5f0c3e55c56101c1b1c 100644 (file)
@@ -43,11 +43,11 @@ draw_tile() {
 }
 
 hide_cursor() {
-    tput civis
+    echo -en '\033[25l'
 }
 
 show_cursor() {
-    tput cvvis
+    echo -en '\033[25h'
 }
 
 draw_score_board() {