12 lines
204 B
C++
12 lines
204 B
C++
#pragma once
|
|
|
|
namespace Terminal {
|
|
|
|
bool stdinIsInteractive();
|
|
bool stdoutIsInteractive();
|
|
|
|
// Clears the screen. Does nothing when stdout is not a terminal.
|
|
void clearScreen();
|
|
|
|
} // namespace Terminal
|