Cols: Correctly calculate height

This commit is contained in:
Dylan Araps 2016-12-19 15:58:47 +11:00
parent 3205ec0fbc
commit d7e3ccb881

View file

@ -1760,6 +1760,7 @@ get_cols() {
cols="${cols//nl/\\n\\033[${text_padding}C${zws}}"
printf "%b\n" "\033[${text_padding}C${zws}${cols}"
info_height="$((info_height+=block_height+2))"
fi
unset -v blocks blocks2 cols