From 505fe537796a38ea4a7023df0d938c0a2a43cc64 Mon Sep 17 00:00:00 2001 From: Malfurious Date: Sun, 3 Oct 2021 20:29:22 -0400 Subject: patch: capscolor Introduces an additional color to indicate the state of Caps Lock. Written against HEAD at a31b919, but should apply to 1.2. --- config.def.h | 1 + 1 file changed, 1 insertion(+) (limited to 'config.def.h') diff --git a/config.def.h b/config.def.h index 27cc2d0..83e4887 100644 --- a/config.def.h +++ b/config.def.h @@ -6,6 +6,7 @@ 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) */ -- cgit v1.2.3