mirror of
https://github.com/dylanaraps/neofetch.git
synced 2026-01-06 15:10:00 +00:00
Small nitpick
This commit is contained in:
2
neofetch
2
neofetch
@@ -2833,7 +2833,7 @@ printinfo
|
||||
|
||||
if [ "$image" != "off" ]; then
|
||||
# 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.
|
||||
[ "$lines" -lt "$info_height" ] && lines="$info_height"
|
||||
|
||||
Reference in New Issue
Block a user