Combine escape sequences

This commit is contained in:
Dylan Araps 2016-08-13 18:39:06 +10:00
parent 8cb06c8cb3
commit ada00c9bb9
1 changed files with 2 additions and 5 deletions

View File

@ -2992,8 +2992,8 @@ main() {
# Clear the scren
clear
# Hide the cursor
printf "\033[?25l"
# Hide the cursor and disable line wrap
printf "\033[?25l\033[?7l"
# Images {{{
@ -3039,9 +3039,6 @@ main() {
# }}}
# Disable line wrap
printf "\033[?7l"
# Move cursor to the top
[ "$image" != "off" ] && printf "\033[0H"