Skip to content

Commit

Permalink
Fix: default value for OutputMode when disable curses (#376)
Browse files Browse the repository at this point in the history
  • Loading branch information
fabricionaweb authored Sep 5, 2024
1 parent 220e842 commit b5c3068
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions daemon/main/Options.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -431,7 +431,11 @@ void Options::InitDefaults()
SetOption(OPTION_WRITELOG, "append");
SetOption(OPTION_ROTATELOG, "3");
SetOption(OPTION_APPENDCATEGORYDIR, "yes");
#ifdef DISABLE_CURSES
SetOption(OPTION_OUTPUTMODE, "color");
#else
SetOption(OPTION_OUTPUTMODE, "curses");
#endif
SetOption(OPTION_DUPECHECK, "yes");
SetOption(OPTION_DOWNLOADRATE, "0");
SetOption(OPTION_CONTROLIP, "0.0.0.0");
Expand Down

0 comments on commit b5c3068

Please sign in to comment.