14# include <sys/ioctl.h>
37 return isatty(STDOUT_FILENO);
64 ioctl(STDOUT_FILENO, TIOCGWINSZ, &w);
The internal SeqAn3 namespace.
Definition aligned_sequence_concept.hpp:26
bool is_terminal()
Check whether we are printing to a terminal.
Definition terminal.hpp:34
unsigned get_terminal_width()
Retrieve size of terminal.
Definition terminal.hpp:56