Merge pull request #301 from Xyene/no-exit-error

ncurses: silence `setterm` errors on exit
master
karl 6 years ago committed by GitHub
commit c905a047d7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      output/terminal_ncurses.c

@ -249,7 +249,7 @@ void cleanup_terminal_ncurses(void) {
echo();
system("setfont >/dev/null 2>&1");
system("setfont /usr/share/consolefonts/Lat2-Fixed16.psf.gz >/dev/null 2>&1");
system("setterm -blank 10");
system("setterm -blank 10 >/dev/null 2>&1");
/*for(int i = 0; i < gradient_size; ++i) {
if(the_color_redefinitions[i].color) {
init_color(the_color_redefinitions[i].color,

Loading…
Cancel
Save