Commit 5a622f8a authored by dylan araps's avatar dylan araps

cursor: Fix incorrect cursor position.

parent 5c91ecfe
...@@ -4008,9 +4008,6 @@ dynamic_prompt() { ...@@ -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"
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment