get_width

sunpy.util.get_width()[source]

Gets the width of the current terminal. Accounts for if the ‘COLUMNS’ environmental variable is set.

Returns

int – Width of the terminal you are in. Works for IPython notebooks and normal terminals.