|
|
@ -3,9 +3,10 @@ static const char *user = "user";
|
|
|
|
static const char *group = "nobody";
|
|
|
|
static const char *group = "nobody";
|
|
|
|
|
|
|
|
|
|
|
|
static const char *colorname[NUMCOLS] = {
|
|
|
|
static const char *colorname[NUMCOLS] = {
|
|
|
|
[INIT] = "#2d2d2d", /* after initialization */
|
|
|
|
[INIT] = "#000000", /* after initialization */
|
|
|
|
[INPUT] = "#005577", /* during input */
|
|
|
|
[INPUT] = "#0000ff", /* during input */
|
|
|
|
[FAILED] = "#CC3333", /* wrong password */
|
|
|
|
[FAILED] = "#ff0000", /* wrong password */
|
|
|
|
|
|
|
|
[CAPS] = "#ffff00", /* CapsLock on */
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
/* treat a cleared input like a wrong password (color) */
|
|
|
|
/* treat a cleared input like a wrong password (color) */
|
|
|
|