mirror of
https://github.com/clangen/musikcube.git
synced 2024-10-02 13:02:35 +00:00
Suppress SIGPIPE errors in *nix -- they may occur with visualizers.
This commit is contained in:
parent
53ad470a78
commit
0dcee1a632
@ -85,6 +85,7 @@ App::App(const std::string& title) {
|
|||||||
setlocale(LC_ALL, "");
|
setlocale(LC_ALL, "");
|
||||||
std::signal(SIGWINCH, resizedHandler);
|
std::signal(SIGWINCH, resizedHandler);
|
||||||
std::signal(SIGHUP, hangupHandler);
|
std::signal(SIGHUP, hangupHandler);
|
||||||
|
std::signal(SIGPIPE, SIG_IGN);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef __PDCURSES__
|
#ifdef __PDCURSES__
|
||||||
|
Loading…
Reference in New Issue
Block a user