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.
|
||||
if [ "$image" != "ascii" ]; then
|
||||
gettermpadding
|
||||
lines="$(((height + ${border:-0} + ${yoffset:-0}) / font_height))"
|
||||
lines="$(((height + (${border:-0} * 2) + ${yoffset:-0}) / font_height))"
|
||||
else
|
||||
lines="$((lines-=2))"
|
||||
fi
|
||||
|
|
Loading…
Reference in a new issue