color_blocks: Fix cursor bug

This commit is contained in:
Dylan Araps 2019-01-08 15:34:08 +02:00
parent 653712c06a
commit 4f89361e50

View file

@ -3391,7 +3391,7 @@ get_cols() {
cols="${cols//nl/\\n\\e[${text_padding}C${zws}}" cols="${cols//nl/\\n\\e[${text_padding}C${zws}}"
# Add block height to info height. # Add block height to info height.
((info_height+=block_height+1)) ((info_height+=block_range[1]>7?block_height+2:block_height+1))
printf '\n\e[%bC%b\n' "$text_padding" "${zws}${cols}" printf '\n\e[%bC%b\n' "$text_padding" "${zws}${cols}"
fi fi