[wiki] [sites] [dmenu][patch] fuzzyhighlight: add description about ci feature || Chris Noxz

From: <git_AT_suckless.org>
Date: Wed, 08 Apr 2020 17:38:31 +0200

commit 7e596547da9a61e460c878f42237fbee3c1c5407
Author: Chris Noxz <chris_AT_noxz.tech>
Date: Wed Apr 8 17:36:52 2020 +0200

    [dmenu][patch] fuzzyhighlight: add description about ci feature

diff --git a/tools.suckless.org/dmenu/patches/fuzzyhighlight/index.md b/tools.suckless.org/dmenu/patches/fuzzyhighlight/index.md
index 202b92dc..2f02e7e5 100644
--- a/tools.suckless.org/dmenu/patches/fuzzyhighlight/index.md
+++ b/tools.suckless.org/dmenu/patches/fuzzyhighlight/index.md
_AT_@ -6,6 +6,15 @@ Description
 This patch make it so that fuzzy matches gets highlighted and is therefore
 meant to be used together with the patch fuzzymatch.
 
+To make this patch fully integrated with fuzzymatch and support 'case
+insensitive' features the following line must be changed:
+
+ if (*highlight == text[i]) {
+
+into:
+
+ if (!fstrncmp(&(*highlight), &text[i], 1)) {
+
 [![Screenshot dmenu with the patch](fuzzyhighlight.png)](fuzzyhighlight.png)
 
 Download
Received on Wed Apr 08 2020 - 17:38:31 CEST

This archive was generated by hypermail 2.3.0 : Wed Apr 08 2020 - 17:48:47 CEST