summaryrefslogtreecommitdiffstats
path: root/config.def.h
blob: 3639e91b4d6ba8dacb1f430c30ec25bb7f398c4e (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
/* user and group to drop privileges to */
static const char *user  = "nobody";
static const char *group = "nobody";

static const char *colorname[NUMCOLS] = {
	[INIT] =   "black",     /* after initialization */
	[INPUT] =  "#005577",   /* during input */
	[FAILED] = "#CC3333",   /* wrong password */
	[CAPS] = "red",         /* CapsLock on */
};

/* treat a cleared input like a wrong password (color) */
static const int failonclear = 1;

/* allow control key to trigger fail on clear */
static const int controlkeyclear = 1;