[PR] #24 from OldWorldOrdr: Fix bash 5.2 column cut off issue

This commit is contained in:
Hykilpikonna
2022-10-04 11:57:54 -04:00
committed by GitHub

View File

@@ -4636,8 +4636,8 @@ get_cols() {
printf -v block_spaces "%${block_height}s"
# Convert the spaces into rows of blocks.
[[ "$blocks" ]] && cols+="${block_spaces// /${blocks}nl}"
[[ "$blocks2" ]] && cols+="${block_spaces// /${blocks2}nl}"
[[ "$blocks" ]] && cols+="${block_spaces// /${blocks}\[mnl}"
[[ "$blocks2" ]] && cols+="${block_spaces// /${blocks2}\[mnl}"
# Determine the horizontal offset of the blocks.
case $col_offset in