forked from localhorst/reHDD
get status from smartctl correct
This commit is contained in:
10
src/tui.cpp
10
src/tui.cpp
@ -43,11 +43,21 @@ void TUI::initTUI()
|
||||
|
||||
init_pair(COLOR_AREA_ENTRY_EVEN, COLOR_BLACK, COLOR_WHITE);
|
||||
init_pair(COLOR_AREA_ENTRY_ODD, COLOR_BLUE, COLOR_WHITE);
|
||||
|
||||
#ifdef DRYRUN
|
||||
init_pair(COLOR_AREA_ENTRY_SELECTED, COLOR_WHITE, COLOR_GREEN);
|
||||
#elif
|
||||
init_pair(COLOR_AREA_ENTRY_SELECTED, COLOR_WHITE, COLOR_RED);
|
||||
#endif
|
||||
|
||||
init_pair(COLOR_AREA_OVERVIEW, COLOR_BLACK, COLOR_WHITE);
|
||||
init_pair(COLOR_AREA_DETAIL, COLOR_BLACK, COLOR_WHITE);
|
||||
|
||||
#ifdef DRYRUN
|
||||
mvprintw(0, 2, "reHDD - HDD refurbishing tool - GPL 3.0 DRYRUN is active! Don't use in production!");
|
||||
#elif
|
||||
mvprintw(0, 2, "reHDD - HDD refurbishing tool - GPL 3.0 ");
|
||||
#endif
|
||||
Logger::logThis()->info("UI successfully initialized");
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user