Commit 4f89361e authored by Dylan Araps's avatar Dylan Araps

color_blocks: Fix cursor bug

parent 653712c0
......@@ -3391,7 +3391,7 @@ get_cols() {
cols="${cols//nl/\\n\\e[${text_padding}C${zws}}"
# 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}"
fi
......
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