dmenu-noxz

[fork] suckless dmenu - personal fork
git clone https://noxz.tech/git/dmenu-noxz.git
dmenu-noxz

commit: 65f39cabe4df6fd58db39a1c9deb84d4ef1bf58a
parent: c9ed36a6e308b2364f43fa9e91b680f97f6e457e
author: Chris Noxz <chris@noxz.tech>
date:   Wed, 8 Apr 2020 17:38:55 +0200
Add support for 'case insensitive' feature from fuzzymatch
Mdmenu.c2+-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dmenu.c b/dmenu.c
@@ -130,7 +130,7 @@ drawhighlights(struct item *item, int x, int y, int maxw)
 	                   ? SchemeSelHighlight
 	                   : SchemeNormHighlight]);
 	for (i = 0, highlight = item->text; *highlight && text[i];) {
-		if (*highlight == text[i]) {
+		if (!fstrncmp(&(*highlight), &text[i], 1)) {
 			/* get indentation */
 			c = *highlight;
 			*highlight = '\0';