Set *curses backends to use default colors

This commit is contained in:
hcpl 2017-07-16 17:37:15 +03:00
parent 28d0db1bb6
commit e0d69da844
2 changed files with 2 additions and 0 deletions

View File

@ -73,6 +73,7 @@ impl backend::Backend for Concrete {
ncurses::noecho(); ncurses::noecho();
ncurses::cbreak(); ncurses::cbreak();
ncurses::start_color(); ncurses::start_color();
ncurses::use_default_colors();
ncurses::curs_set(ncurses::CURSOR_VISIBILITY::CURSOR_INVISIBLE); ncurses::curs_set(ncurses::CURSOR_VISIBILITY::CURSOR_INVISIBLE);
Concrete { Concrete {

View File

@ -72,6 +72,7 @@ impl backend::Backend for Concrete {
pancurses::noecho(); pancurses::noecho();
pancurses::cbreak(); pancurses::cbreak();
pancurses::start_color(); pancurses::start_color();
pancurses::use_default_colors();
pancurses::curs_set(0); pancurses::curs_set(0);
Concrete { Concrete {