projects
/
advent-of-code-2019.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7930481
)
Use escape sequences rather than tput
author
Brett Parker
<iDunno@sommitrealweird.co.uk>
Thu, 10 Dec 2020 02:32:14 +0000
(
02:32
+0000)
committer
Brett Parker
<iDunno@sommitrealweird.co.uk>
Thu, 10 Dec 2020 02:32:14 +0000
(
02:32
+0000)
day13/screen.sh
patch
|
blob
|
history
diff --git
a/day13/screen.sh
b/day13/screen.sh
index 3bc395625169bfcc23918a1888545f20525a6aa8..e447c2a2636b6d34c304e5f0c3e55c56101c1b1c 100644
(file)
--- 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() {