Code ▸ Projects ▸ txtint ▸ API ▸ txt Tools for metamodern text interfaces. get_output_width() # [source] Return the best of env var TTY_WIDTH, current terminal width or 80. get_dimensions() # [source] Return a 2-tuple of terminal's height and width.