int get_tty_columns()
Get the number of columns of the current terminal.
void set_tty_columns(int columns)
Set the forced width of the terminal.
void reset_tty_columns()
Reset the forced width of the terminal.
int get_tty_lines()
Get the number of lines of the current terminal.
bool is_a_tty()
Test if current terminal is a tty.