Signed-off-by: Ben Boeckel <[email protected]>
---
curs_lib.c | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/curs_lib.c b/curs_lib.c
index 355c899..3d8164c 100644
--- a/curs_lib.c
+++ b/curs_lib.c
@@ -139,7 +139,9 @@ int _mutt_get_field (const char *field, char *buf, size_t
buflen, int complete,
do
{
CLEARLINE (LINES-1);
+ SETCOLOR (MT_COLOR_MESSAGE);
addstr ((char *)field); /* cast to get around bad prototypes */
+ NORMAL_COLOR;
mutt_refresh ();
getyx (stdscr, y, x);
ret = _mutt_enter_string (buf, buflen, y, x, complete, multiple, files,
numfiles, es);
@@ -225,8 +227,10 @@ int mutt_yesorno (const char *msg, int def)
answer_string_len = mutt_strwidth (answer_string);
/* maxlen here is sort of arbitrary, so pick a reasonable upper bound */
msglen = mutt_wstr_trunc (msg, 4*COLS, COLS - answer_string_len, NULL);
+ SETCOLOR (MT_COLOR_MESSAGE);
addnstr (msg, msglen);
addstr (answer_string);
+ NORMAL_COLOR;
FREE (&answer_string);
FOREVER
@@ -647,7 +651,9 @@ int mutt_multi_choice (char *prompt, char *letters)
int choice;
char *p;
+ SETCOLOR (MT_COLOR_MESSAGE);
mvaddstr (LINES - 1, 0, prompt);
+ NORMAL_COLOR;
clrtoeol ();
FOREVER
{
--
1.9.0