23#ifndef OPM_TERMINAL_HPP
24#define OPM_TERMINAL_HPP
This file contains a set of helper functions used by VFPProd / VFPInj.
Definition blackoilboundaryratevector.hh:37
void resetTerminal()
Resets the current TTY to a usable state if the program was aborted.
Definition terminal.cpp:123
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
void assignResetTerminalSignalHandlers()
Assign signal handlers that reset the terminal on errors.
Definition terminal.cpp:108
int signum(Scalar val)
Template function which returns the sign of a floating point value.
Definition signum.hh:40
int getTtyWidth()
Get the width of the tty we are attached to.
Definition terminal.cpp:90