commit 1c86f4eb362da9c1fc05182c10cf9ec468723822 from: Marcel Rodrigues date: Sun Nov 09 17:51:56 2014 UTC More color configuration. commit - c78b45be047b03c5b3096f75b7169794cae95176 commit + 1c86f4eb362da9c1fc05182c10cf9ec468723822 blob - 250f2fe15d34d02b565b63d93a7700745c79ec89 blob + dbbe39f57c060fa6af08df121960b5a2d265d56a --- config.h +++ config.h @@ -25,5 +25,7 @@ #define RVC_FILE DEFAULT #define RVC_DIR DEFAULT #define RVC_HIDDEN YELLOW +#define RVC_PROMPT DEFAULT +#define RVC_TABNUM DEFAULT #define RV_JUMP 10 blob - 309731f098c934054059efd5a851f13417f60543 blob + 80f2e6ad2bb624a7fe4e04b4362dad4de4dc9108 --- rover.c +++ rover.c @@ -219,7 +219,9 @@ cd(int reset) color_set(DEFAULT, NULL); move(0, COLS-2); attr_on(A_BOLD, NULL); + color_set(RVC_TABNUM, NULL); echochar(rover.tab + '0'); + color_set(DEFAULT, NULL); attr_off(A_BOLD, NULL); if (rover.nfiles) free_rows(&rover.rows, rover.nfiles); @@ -435,7 +437,9 @@ main() oldsel = FSEL; oldscroll = SCROLL; *SEARCH = '\0'; + color_set(RVC_PROMPT, NULL); mvaddstr(LINES - 1, 0, "search: "); + color_set(DEFAULT, NULL); while (igetstr(SEARCH, SEARCHSZ)) { int length, sel; color_t color;