SeqAn3 3.4.0-rc.1
The Modern C++ library for sequence analysis.
Loading...
Searching...
No Matches
terminal.hpp File Reference

Checks if program is run interactively and retrieves dimensions of terminal (Transferred from seqan2). More...

#include <sys/ioctl.h>
#include <cstdio>
#include <unistd.h>
#include <seqan3/core/platform.hpp>
+ Include dependency graph for terminal.hpp:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  seqan3
 The main SeqAn3 namespace.
 
namespace  seqan3::detail
 The internal SeqAn3 namespace.
 

Functions

unsigned seqan3::detail::get_terminal_width ()
 Retrieve size of terminal.
 
bool seqan3::detail::is_terminal ()
 Check whether we are printing to a terminal.
 

Detailed Description

Checks if program is run interactively and retrieves dimensions of terminal (Transferred from seqan2).

Author
Svenja Mehringer <svenja.mehringer AT fu-berlin.de>
Hide me