commit 7e596547da9a61e460c878f42237fbee3c1c5407 parent 605c9c8f6b0f5170ea7b6eac3a32440c643614a8 Author: Chris Noxz <chris@noxz.tech> Date: Wed, 8 Apr 2020 17:36:52 +0200 [dmenu][patch] fuzzyhighlight: add description about ci feature Diffstat:
M | tools.suckless.org/dmenu/patches/fuzzyhighlight/index.md | | | 9 | +++++++++ |
1 file changed, 9 insertions(+), 0 deletions(-)
diff --git a/tools.suckless.org/dmenu/patches/fuzzyhighlight/index.md b/tools.suckless.org/dmenu/patches/fuzzyhighlight/index.md @@ -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)) { + [](fuzzyhighlight.png) Download