14 lines
447 B
C
14 lines
447 B
C
/* user and group to drop privileges to */
|
|
static const char *user = "yorune";
|
|
static const char *group = "yorune";
|
|
|
|
static const char *colorname[NUMCOLS] = {
|
|
[INIT] = "black", /* after initialization */
|
|
[INPUT] = "#005577", /* during input */
|
|
[FAILED] = "#CC3333", /* wrong password */
|
|
[CAPS] = "yellow", /* CapsLock on */
|
|
};
|
|
|
|
/* treat a cleared input like a wrong password (color) */
|
|
static const int failonclear = 1;
|