Implement -@, -@0 and -@1 options to colorize reminders.

This commit is contained in:
Dianne Skoll
2020-01-25 11:12:10 -05:00
parent fc9fd1e53c
commit c05fd366df
6 changed files with 63 additions and 9 deletions

View File

@@ -207,6 +207,13 @@ void InitRemind(int argc, char const *argv[])
case '@':
UseVTColors = 1;
if (*arg == '0') {
TerminalBackground = TERMINAL_BACKGROUND_DARK;
arg++;
} else if (*arg == '1') {
TerminalBackground = TERMINAL_BACKGROUND_LIGHT;
arg++;
}
break;
case 'j':