maestral.cli.utils

Module to print neatly formatted tables and grids to the terminal.

Module Contents

maestral.cli.utils.get_term_size()[source]

Returns the terminal size. If it cannot be determined, for example because output is piped to a file, return sys.maxsize for width and height instead.

Returns:

(width, height).

Return type:

os.terminal_size