do not destroy screen at exit if pdcurses library is used

master
Andrzej Rybczak 17 years ago
parent 0959336040
commit 762f233b96
  1. 2
      src/ncmpcpp.cpp

@ -94,7 +94,9 @@ namespace
std::cerr.rdbuf(cerr_buffer);
errorlog.close();
Mpd.Disconnect();
# ifndef USE_PDCURSES // destroying screen somehow crashes pdcurses
DestroyScreen();
# endif // USE_PDCURSES
WindowTitle("");
}
}

Loading…
Cancel
Save