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
926dea97
Commit
926dea97
authored
Dec 09, 2016
by
Dylan Araps
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Images: Fix blank images in Iterm2, closes #513
parent
9343a42a
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
4 deletions
+2
-4
neofetch
neofetch
+2
-4
No files found.
neofetch
View file @
926dea97
...
@@ -1877,9 +1877,7 @@ get_cols() {
...
@@ -1877,9 +1877,7 @@ get_cols() {
get_image_backend() {
get_image_backend() {
# This function determines which image backend to use
# This function determines which image backend to use
# by checking for programs and etc.
# by checking for programs and etc.
get_image_program
# Automatically find w3m-img
get_w3m_img_path
# Fallback to ascii mode if imagemagick isn't installed.
# Fallback to ascii mode if imagemagick isn't installed.
type -p convert >/dev/null 2>&1 || image_backend="
ascii
"
type -p convert >/dev/null 2>&1 || image_backend="
ascii
"
...
@@ -1905,7 +1903,6 @@ get_image_backend() {
...
@@ -1905,7 +1903,6 @@ get_image_backend() {
return
return
fi
fi
get_image_program
get_term_size
get_term_size
# Fallback to ascii mode if terminal size wasn'
t found.
# Fallback to ascii mode if terminal size wasn'
t found.
...
@@ -2006,6 +2003,7 @@ get_image_program() {
...
@@ -2006,6 +2003,7 @@ get_image_program() {
else
else
image_program
=
"w3m"
image_program
=
"w3m"
get_w3m_img_path
fi
fi
}
}
...
...
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