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
8e6cd99d
Commit
8e6cd99d
authored
May 09, 2017
by
Dylan Araps
Committed by
GitHub
May 09, 2017
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #716 from dylanaraps/zws_fix
W3m: Fix zero width space outputting garbage.
parents
2134176d
8572cf9a
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
neofetch
neofetch
+3
-3
No files found.
neofetch
View file @
8e6cd99d
...
@@ -2533,7 +2533,7 @@ display_image() {
...
@@ -2533,7 +2533,7 @@ display_image() {
printf
"%b
\n
"
"0;1;
$xoffset
;
$yoffset
;
$width
;
$height
;;;;;
$image
\n
4;
\n
3;"
|
\
printf
"%b
\n
"
"0;1;
$xoffset
;
$yoffset
;
$width
;
$height
;;;;;
$image
\n
4;
\n
3;"
|
\
"
${
w3m_img_path
:-
false
}
"
-bg
"
$background_color
"
>
/dev/null & 2>&1
||
to_off
"Image: w3m-img failed to display the image."
"
${
w3m_img_path
:-
false
}
"
-bg
"
$background_color
"
>
/dev/null & 2>&1
||
to_off
"Image: w3m-img failed to display the image."
zws
=
"
"
zws
=
"
\x
E2
\x
80
\x
8B
\x
20
"
;;
;;
esac
esac
}
}
...
@@ -2740,11 +2740,11 @@ get_underline() {
...
@@ -2740,11 +2740,11 @@ get_underline() {
get_line_break() {
get_line_break() {
# Print it directly.
# Print it directly.
printf "%
s
\n" "${zws}"
printf "%
b
\n" "${zws}"
# Calculate info height.
# Calculate info height.
((++info_height))
((++info_height))
line_breaks+=
$'
\n
'
line_breaks+=
"\n"
# Tell info() that we printed manually.
# Tell info() that we printed manually.
prin=1
prin=1
...
...
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