cursor: Fix incorrect cursor position.
This commit is contained in:
parent
5c91ecfe2c
commit
5a622f8a18
3
neofetch
3
neofetch
|
@ -4008,9 +4008,6 @@ dynamic_prompt() {
|
||||||
lines="$((lines - info_height))"
|
lines="$((lines - info_height))"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Print a newline if color blocks are disabled.
|
|
||||||
[[ -z "$block_spaces" ]] && printf "\n"
|
|
||||||
|
|
||||||
# Set the prompt location.
|
# Set the prompt location.
|
||||||
((lines > 0)) && printf "%b" "\033[${lines}B"
|
((lines > 0)) && printf "%b" "\033[${lines}B"
|
||||||
}
|
}
|
||||||
|
|
Reference in New Issue