mirror of
https://github.com/dylanaraps/neofetch.git
synced 2025-10-04 09:08:38 +00:00
Combine escape sequences
This commit is contained in:
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"
|
||||
|
||||
|
Reference in New Issue
Block a user