I’m going to assume it’s fine to fix this, because there are other little annoyances I’ve found with padding too.
matrices don’t take string elision into account:
julia> ["xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx" 0 0 0 0;0 0 0 0 0]
2×5 Matrix{Any}:
"xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx" ⋯ 23 bytes ⋯ "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx" 0 0 0 0
0 0 0 0 0
and when it thinks it should be shortening the matrix because of this it doesn’t actually remove any columns of the matrix:
julia> ["xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx" 0 0;0 0 0]
2×3 Matrix{Any}:
"xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx" ⋯ 33 bytes ⋯ "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx" … 0 0
0 0
0
edit:
I actually did find something that aligns both directions, complex numbers:
julia> [1039201 "string"; "test" 8888; 10 'a'; 1+im 1021-4im]
4×2 Matrix{Any}:
1039201 "string"
"test" 8888
10 'a'
1+1im 1021-4im
I think I can still overlap the columns if I’m careful about it though