Code

Use the alert color in screen_readln()
authorKalle Wallin <kaw@linux.se>
Wed, 16 Jun 2004 11:14:25 +0000 (11:14 +0000)
committerKalle Wallin <kaw@linux.se>
Wed, 16 Jun 2004 11:14:25 +0000 (11:14 +0000)
git-svn-id: https://svn.musicpd.org/ncmpc/trunk@1509 09075e82-0dd4-0310-85a5-a0d7c8717e4f

src/screen_utils.c

index 6473244bbce7534dcbe4281ca51ee381e3e7d333..398fdd9fea546e0664d25060d746a9ecc00631ab 100644 (file)
@@ -78,6 +78,7 @@ screen_readln(WINDOW *w,
 
   wmove(w, 0,0);
   curs_set(1);
+  colors_use(w, COLOR_STATUS_ALERT);
   line = wreadln(w, prompt, value, COLS, history, gcmp);
   curs_set(0);
   return line;