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:108
constexpr int signum(Scalar val)
Template function which returns the sign of a floating point value.
Definition: signum.hh:41
This file contains a set of helper functions used by VFPProd / VFPInj.
Definition: blackoilbioeffectsmodules.hh:45
void resetTerminal()
Resets the current TTY to a usable state if the program was aborted.
Definition: terminal.cpp:123
int getTtyWidth()
Get the width of the tty we are attached to.
Definition: terminal.cpp:90
std::string breakLines(const std::string &msg, int indentWidth, int maxWidth)
Break up a string in lines suitable for terminal output.
Definition: terminal.cpp:39