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