dmenu-noxz

[fork] suckless dmenu - personal fork
git clone git://git.noxz.tech/dmenu-noxz
Log | Files | Refs | README | LICENSE

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

Diffstat:
Mdmenu.c | 2+-
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';