diff --git a/man/remind.1.in b/man/remind.1.in index ce0eee81..646c3086 100644 --- a/man/remind.1.in +++ b/man/remind.1.in @@ -99,14 +99,15 @@ by many terminal emulators such as xterm. And \fIn\fR=2 tells it to use escape sequences that support true 24-bit colors, again supported by many terminal emulators such as xterm. .PP -If the optional \fIm\fR parameter is supplied following a comma, -then \fIm\fR=0 tells \fBRemind\fR that the terminal background is dark, -and \fBRemind\fR will brighten up dark colors to make them visible. If +If the optional \fIm\fR parameter is supplied following a comma, then +\fIm\fR=0 tells \fBRemind\fR that the terminal background is dark, and +\fBRemind\fR will brighten up dark colors to make them visible. If \fIm\fR=1, then \fBRemind\fR assumes the terminal background is light and it will darken bright colors to make them visible. If no \fIm\fR -is supplied, then \fBRemind\fR does not perform any adjustments, and -some reminders may be hard or impossible to see if the color is too close -to the terminal background color. +is supplied, or it is supplied as \fIm\fR=2, then \fBRemind\fR does +not perform any adjustments, and some reminders may be hard or +impossible to see if the color is too close to the terminal background +color. .PP If the optional \fIb\fR parameter is supplied following a comma, then \fIb=0\fR tells \fBRemind\fR to ignore SPECIAL SHADE reminders (the diff --git a/src/init.c b/src/init.c index 5d00e18a..e9067133 100644 --- a/src/init.c +++ b/src/init.c @@ -246,8 +246,10 @@ void InitRemind(int argc, char const *argv[]) TerminalBackground = TERMINAL_BACKGROUND_DARK; } else if (x == 1) { TerminalBackground = TERMINAL_BACKGROUND_LIGHT; + } else if (x == 2) { + TerminalBackground = TERMINAL_BACKGROUND_UNKNOWN; } else { - fprintf(ErrFp, "%s: -@n,m,b: m must be 0 or 1\n", + fprintf(ErrFp, "%s: -@n,m,b: m must be 0, 1 or 2 (assuming 2)\n", argv[0]); } }