From: Brett Parker Date: Thu, 10 Dec 2020 02:32:14 +0000 (+0000) Subject: Use escape sequences rather than tput X-Git-Url: https://git.sommitrealweird.co.uk/advent-of-code-2019.git/commitdiff_plain/94b8ad38af1df72ec7660e2d195d16e87522aa30?hp=79304811c66e5ce6d4898a33dd8f4799a5d1c5d3 Use escape sequences rather than tput --- diff --git a/day13/screen.sh b/day13/screen.sh index 3bc3956..e447c2a 100644 --- a/day13/screen.sh +++ b/day13/screen.sh @@ -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() {