Combine escape sequences
This commit is contained in:
parent
8cb06c8cb3
commit
ada00c9bb9
7
neofetch
7
neofetch
|
@ -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"
|
||||||
|
|
||||||
|
|
Reference in New Issue