Suppress SIGPIPE errors in *nix -- they may occur with visualizers.

This commit is contained in:
Casey Langen 2016-11-05 20:46:31 -07:00
parent 53ad470a78
commit 0dcee1a632

View File

@ -85,6 +85,7 @@ App::App(const std::string& title) {
setlocale(LC_ALL, "");
std::signal(SIGWINCH, resizedHandler);
std::signal(SIGHUP, hangupHandler);
std::signal(SIGPIPE, SIG_IGN);
#endif
#ifdef __PDCURSES__