mirror of
https://salsa.debian.org/dskoll/remind.git
synced 2026-04-17 06:48:47 +02:00
Implement -@, -@0 and -@1 options to colorize reminders.
This commit is contained in:
@@ -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':
|
||||
|
||||
Reference in New Issue
Block a user