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 # Color block range
# --block_range start end # --block_range start end
start=0 start=0
end=15 end=7
# Toggle color blocks # Toggle color blocks
# --color_blocks on/off # --color_blocks on/off

View file

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