Small nitpick
This commit is contained in:
parent
d7df2378df
commit
5d7ed48661
1 changed files with 1 additions and 1 deletions
2
neofetch
2
neofetch
|
@ -2833,7 +2833,7 @@ printinfo
|
||||||
|
|
||||||
if [ "$image" != "off" ]; then
|
if [ "$image" != "off" ]; then
|
||||||
# Get cursor position
|
# Get cursor position
|
||||||
info_height="$(IFS=';' read -srdR -p $'\E[6n' ROW COL; printf "%s" "${ROW#*[}")"
|
info_height="$(IFS=';' read -srdR -p $'\033[6n' ROW COL; printf "%s" "${ROW#*[}")"
|
||||||
|
|
||||||
# Set cursor position dynamically based on height of ascii/text.
|
# Set cursor position dynamically based on height of ascii/text.
|
||||||
[ "$lines" -lt "$info_height" ] && lines="$info_height"
|
[ "$lines" -lt "$info_height" ] && lines="$info_height"
|
||||||
|
|
Loading…
Reference in a new issue