width of pretty_print() text output
Consider a code example:
sage: L = [Matrix(ZZ,4,4)]*10
sage: pretty_print(L)
[
[0 0 0 0] [0 0 0 0] [0 0 0 0] [0 0 0 0] [0 0 0 0] [0 0 0 0]
[0 0 0 0] [0 0 0 0] [0 0 0 0] [0 0 0 0] [0 0 0 0] [0 0 0 0]
[0 0 0 0] [0 0 0 0] [0 0 0 0] [0 0 0 0] [0 0 0 0] [0 0 0 0]
[0 0 0 0], [0 0 0 0], [0 0 0 0], [0 0 0 0], [0 0 0 0], [0 0 0 0],
[0 0 0 0] [0 0 0 0] [0 0 0 0] [0 0 0 0]
[0 0 0 0] [0 0 0 0] [0 0 0 0] [0 0 0 0]
[0 0 0 0] [0 0 0 0] [0 0 0 0] [0 0 0 0]
[0 0 0 0], [0 0 0 0], [0 0 0 0], [0 0 0 0]
]
It wraps up this list of matrices after 6 in a row, not matter how wide is my terminal window. How I can change this - e.g. specify the window width at which wrap the lines, or turn off wrapping at all?
You may use
unicode_art(L)
An alternative is
To revert to standard display mode, use