2015-02-11 23:56:35 +01:00
|
|
|
static const char *colorname[NUMCOLS] = {
|
|
|
|
"black", /* after initialization */
|
|
|
|
"#005577", /* during input */
|
2016-02-14 01:32:02 +01:00
|
|
|
"#CC3333", /* wrong password */
|
2015-02-11 23:56:35 +01:00
|
|
|
};
|
2016-02-14 01:32:02 +01:00
|
|
|
|
|
|
|
/* treat a cleared input like a wrong password */
|
|
|
|
static const int failonclear = 1;
|