From f3b17793874341459c512b9c81f9dc04d6abe39c Mon Sep 17 00:00:00 2001 From: caktux Date: Mon, 13 Apr 2015 23:02:45 -0400 Subject: [PATCH] catch cerr in neth --- neth/main.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/neth/main.cpp b/neth/main.cpp index 4c38da0a4..31df2ffcb 100644 --- a/neth/main.cpp +++ b/neth/main.cpp @@ -626,6 +626,7 @@ int main(int argc, char** argv) logwin = newwin(height * 2 / 5 - 2, width * 2 / 3, qheight, 0); nc::nc_window_streambuf outbuf(logwin, std::cout); + nc::nc_window_streambuf eoutbuf(logwin, std::cerr); consolewin = newwin(qheight, width / 4, 0, 0); nc::nc_window_streambuf coutbuf(consolewin, ccout);