Image: Fix cursor position in URxvt when using terminal padding
This commit is contained in:
parent
5cede165cf
commit
ba4b541167
1 changed files with 1 additions and 1 deletions
2
neofetch
2
neofetch
|
@ -2842,7 +2842,7 @@ dynamicprompt() {
|
||||||
# Calculate image height in terminal cells.
|
# Calculate image height in terminal cells.
|
||||||
if [ "$image" != "ascii" ]; then
|
if [ "$image" != "ascii" ]; then
|
||||||
gettermpadding
|
gettermpadding
|
||||||
lines="$(((height + ${border:-0} + ${yoffset:-0}) / font_height))"
|
lines="$(((height + (${border:-0} * 2) + ${yoffset:-0}) / font_height))"
|
||||||
else
|
else
|
||||||
lines="$((lines-=2))"
|
lines="$((lines-=2))"
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in a new issue