opm
models
utils
Namespaces
|
Functions
terminal.hpp File Reference
#include <string>
Include dependency graph for terminal.hpp:
This graph shows which files directly or indirectly include this file:
Go to the source code of this file.
Namespaces
namespace
Opm
Functions
std::string
Opm::breakLines
(const std::string &msg, int indentWidth, int maxWidth)
Break up a string in lines suitable for terminal output.
More...
int
Opm::getTtyWidth
()
Get the width of the tty we are attached to.
More...
void
Opm::assignResetTerminalSignalHandlers
()
Assign signal handlers that reset the terminal on errors.
More...
void
Opm::resetTerminal
()
Resets the current TTY to a usable state if the program was aborted.
More...
void
Opm::resetTerminal
(int signum)
Resets the current TTY to a usable state if the program was interrupted by SIGABRT or SIGINT.
More...