Combine escape sequences

This commit is contained in:
Dylan Araps 2016-08-13 18:39:06 +10:00
parent 8cb06c8cb3
commit ada00c9bb9

View file

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