--- dmenu-fuzzyhighlight-4.9.diff.orig	2020-04-12 04:50:28.000000000 -0700
+++ dmenu-fuzzyhighlight-4.9.diff	2020-11-25 23:06:28.669246836 -0800
@@ -82,7 +82,7 @@
 +	                   ? 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';
@@ -120,7 +120,7 @@
  
 -	return drw_text(drw, x, y, w, bh, lrpad / 2, item->text, 0);
 +	r = drw_text(drw, x, y, w, bh, lrpad / 2, item->text, 0);
-+	drawhighlights(item, x, y, w);
++	if (fuzzy) drawhighlights(item, x, y, w);
 +	return r;
  }
  
--- dmenu-fuzzyhighlight-4.9.diff.orig	2022-10-05 12:29:01.751742646 -0700
+++ dmenu-fuzzyhighlight-4.9.diff	2022-10-05 12:41:27.035920377 -0700
@@ -125,16 +125,17 @@
  }
  
  static void
-@@ -683,7 +727,8 @@ static void
+@@ -711,7 +711,9 @@
  usage(void)
  {
- 	fputs("usage: dmenu [-bfiv] [-l lines] [-p prompt] [-fn font] [-m monitor]\n"
--	      "             [-nb color] [-nf color] [-sb color] [-sf color] [-w windowid]\n", stderr);
-+	      "             [-nb color] [-nf color] [-sb color] [-sf color]\n"
-+	      "             [-nhb color] [-nhf color] [-shb color] [-shf color] [-w windowid]\n", stderr);
- 	exit(1);
+ 	die("usage: dmenu [-bfiv] [-l lines] [-p prompt] [-fn font] [-m monitor]\n"
+-	    "             [-nb color] [-nf color] [-sb color] [-sf color] [-w windowid]");
++	    "             [-nb color] [-nf color] [-sb color] [-sf color]\n"
++	    "             [-nhb color] [-nhf color] [-shb color] [-shf color]\n"
++	    "             [-w windowid]");
  }
  
+ int
 @@ -724,6 +769,14 @@ main(int argc, char *argv[])
  			colors[SchemeSel][ColBg] = argv[++i];
  		else if (!strcmp(argv[i], "-sf"))  /* selected foreground color */
