23 #ifndef OPM_TERMINAL_HPP 24 #define OPM_TERMINAL_HPP 67 #endif // OPM_TERMINAL_HPP void assignResetTerminalSignalHandlers()
Assign signal handlers that reset the terminal on errors.
Definition: terminal.cpp:128
constexpr int signum(Scalar val)
Template function which returns the sign of a floating point value.
Definition: signum.hh:41
Structs needed for tpfalinearizer and its gpuparams struct extracted to be defined in one place that ...
Definition: blackoilbioeffectsmodules.hh:45
void resetTerminal()
Resets the current TTY to a usable state if the program was aborted.
Definition: terminal.cpp:143
int getTtyWidth()
Get the width of the tty we are attached to.
Definition: terminal.cpp:110
std::string breakLines(const std::string &msg, int indentWidth, int maxWidth)
Break up a string in lines suitable for terminal output.
Definition: terminal.cpp:59