Revert color blocks change as it caused issues in tty

This commit is contained in:
Dylan Araps 2016-10-22 01:35:28 +11:00
parent 0ebc14dcd0
commit a34d64b43b
2 changed files with 2 additions and 2 deletions

View File

@ -236,7 +236,7 @@ underline_char="-"
# Color block range
# --block_range start end
start=0
end=15
end=7
# Toggle color blocks
# --color_blocks on/off

View File

@ -2919,7 +2919,7 @@ dynamicprompt() {
if [ "${lines:-0}" -lt "${info_height:-0}" ]; then
lines="0"
else
lines="$((lines - info_height + cursor_yoffset - 1))"
lines="$((lines - info_height + cursor_yoffset))"
fi
# Set the prompt location