`cut` counts bytes instead of printable character, making it truncate colored lines too early. Fix this by using awk and adding the length difference between a colored and uncolored version to the allowed length. COLUMNS is a shell variable and thus needs exporting for `ENVIRON` to see it in awk.