cpp-terminal 1.0.0
Small C++ library for writing multiplatform terminal applications
Loading...
Searching...
No Matches
tty.hpp
Go to the documentation of this file.
1/*
2* cpp-terminal
3* C++ library for writing multi-platform terminal applications.
4*
5* SPDX-FileCopyrightText: 2019-2024 cpp-terminal
6*
7* SPDX-License-Identifier: MIT
8*/
9
10#pragma once
11
12namespace Term
13{
14
21bool is_stdin_a_tty();
22
29bool is_stdout_a_tty();
30
37bool is_stderr_a_tty();
38
39} // namespace Term
Definition args.cpp:13
bool is_stdout_a_tty()
Check if stdout is a tty.
Definition tty.cpp:34
bool is_stderr_a_tty()
Check if stderr is a tty.
Definition tty.cpp:36
bool is_stdin_a_tty()
Check if stdin is a tty.
Definition tty.cpp:32