Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
N
neofetch
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Ximper Linux
neofetch
Commits
070843d2
Commit
070843d2
authored
Oct 01, 2016
by
Dylan Araps
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Clear screen later
parent
2b7ff346
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
6 deletions
+2
-6
neofetch
neofetch
+2
-6
No files found.
neofetch
View file @
070843d2
...
@@ -2085,6 +2085,8 @@ getimage() {
...
@@ -2085,6 +2085,8 @@ getimage() {
[
"
${#
term_size
}
"
-le
5
]
&&
err
"Your terminal doesn't support
\\\0
33[14t, falling back to ascii mode."
[
"
${#
term_size
}
"
-le
5
]
&&
err
"Your terminal doesn't support
\\\0
33[14t, falling back to ascii mode."
return
return
else
clear
fi
fi
# Get terminal lines and columns
# Get terminal lines and columns
...
@@ -3127,12 +3129,6 @@ main() {
...
@@ -3127,12 +3129,6 @@ main() {
# If the script exits for any reason, unhide the cursor.
# If the script exits for any reason, unhide the cursor.
trap
'printf "\033[?25h"'
EXIT
trap
'printf "\033[?25h"'
EXIT
# Clear the screen
case
"
$image
"
in
"ascii"
|
"off"
)
;;
*
)
clear
;;
esac
# Hide the cursor and disable line wrap
# Hide the cursor and disable line wrap
printf
"
\0
33[?25l
\0
33[?7l"
printf
"
\0
33[?25l
\0
33[?7l"
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment