ZeroErr
δΈ/En
console.h
Go to the documentation of this file.
1
#pragma once
2
3
#include "
zeroerr/internal/config.h
"
4
5
namespace
zeroerr
{
6
7
enum
OutputStream
{
STDOUT
,
STDERR
};
8
extern
bool
isTerminalOutput
(
OutputStream
stream);
9
10
11
struct
TerminalSize
{
12
int
width
;
13
int
height
;
14
};
15
TerminalSize
getTerminalSize
();
16
17
}
// namespace zeroerr
config.h
zeroerr
Definition:
benchmark.cpp:17
zeroerr::OutputStream
OutputStream
Definition:
console.h:7
zeroerr::STDERR
@ STDERR
Definition:
console.h:7
zeroerr::STDOUT
@ STDOUT
Definition:
console.h:7
zeroerr::getTerminalSize
TerminalSize getTerminalSize()
zeroerr::isTerminalOutput
bool isTerminalOutput(OutputStream stream)
zeroerr::TerminalSize
Definition:
console.h:11
zeroerr::TerminalSize::height
int height
Definition:
console.h:13
zeroerr::TerminalSize::width
int width
Definition:
console.h:12
include
zeroerr
internal
console.h
Generated by
1.9.1