Commit d7e3ccb8 authored by Dylan Araps's avatar Dylan Araps

Cols: Correctly calculate height

parent 3205ec0f
...@@ -1760,6 +1760,7 @@ get_cols() { ...@@ -1760,6 +1760,7 @@ get_cols() {
cols="${cols//nl/\\n\\033[${text_padding}C${zws}}" cols="${cols//nl/\\n\\033[${text_padding}C${zws}}"
printf "%b\n" "\033[${text_padding}C${zws}${cols}" printf "%b\n" "\033[${text_padding}C${zws}${cols}"
info_height="$((info_height+=block_height+2))"
fi fi
unset -v blocks blocks2 cols unset -v blocks blocks2 cols
......
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