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
e9a08a07
Commit
e9a08a07
authored
Oct 04, 2016
by
Dylan Araps
Committed by
GitHub
Oct 04, 2016
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #349 from dylanaraps/img-fix
Add a tiny sleep to fix image flashing and not drawing properly
parents
9391443e
f1ac3c2f
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
0 deletions
+3
-0
neofetch
neofetch
+3
-0
No files found.
neofetch
View file @
e9a08a07
...
@@ -2261,6 +2261,9 @@ displayimage() {
...
@@ -2261,6 +2261,9 @@ displayimage() {
if
[
"
$image
"
!=
"ascii"
]
;
then
if
[
"
$image
"
!=
"ascii"
]
;
then
case
"
$image_backend
"
in
case
"
$image_backend
"
in
"w3m"
)
"w3m"
)
# Add a tiny delay to fix issues with images not
# appearing in specific terminal emulators.
sleep
0.05
printf
"%b%s
\n
"
"0;1;
$xoffset
;
$yoffset
;
$width
;
$height
;;;;;
$img
\n
4;
\n
3;"
|
\
printf
"%b%s
\n
"
"0;1;
$xoffset
;
$yoffset
;
$width
;
$height
;;;;;
$img
\n
4;
\n
3;"
|
\
$w3m_img_path
2>/dev/null
||
padding
=
"
\0
33[0C"
$w3m_img_path
2>/dev/null
||
padding
=
"
\0
33[0C"
;;
;;
...
...
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