Combine escape sequences
This commit is contained in:
parent
8cb06c8cb3
commit
ada00c9bb9
1 changed files with 2 additions and 5 deletions
7
neofetch
7
neofetch
|
@ -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"
|
||||
|
||||
|
|
Loading…
Reference in a new issue