Sharg 1.1.2-rc.1
The argument parser for bio-c++ tools.
Loading...
Searching...
No Matches
terminal.hpp File Reference

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

#include <unistd.h>
#include <sys/ioctl.h>
#include <sharg/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.

Functions

bool sharg::detail::stdin_is_terminal ()
 Check whether the standard input is interactive.
 
bool sharg::detail::stdout_is_terminal ()
 Check whether the standard output is interactive.
 
bool sharg::detail::stderr_is_terminal ()
 Check whether the standard error output is interactive.
 
unsigned sharg::detail::get_terminal_width ()
 Retrieve size of 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