sites

public wiki contents of suckless.org
git clone git://git.suckless.org/sites
Log | Files | Refs

index.md (881B)


      1 fuzzyhighlight
      2 ==============
      3 
      4 Description
      5 -----------
      6 This patch make it so that fuzzy matches gets highlighted and is therefore
      7 meant to be used together with the patch fuzzymatch.
      8 
      9 To make this patch fully integrated with fuzzymatch and support 'case 
     10 insensitive' features the following line must be changed:
     11 
     12 	if (*highlight == text[i]) {
     13 
     14 into:
     15 
     16 	if (!fstrncmp(&(*highlight), &text[i], 1)) {
     17 
     18 [![Screenshot dmenu with the patch](fuzzyhighlight.png)](fuzzyhighlight.png)
     19 
     20 Download
     21 --------
     22 * [dmenu-fuzzyhighlight-4.9.diff](dmenu-fuzzyhighlight-4.9.diff)
     23 
     24 This patch fixes the shift of highlighted symbols, it also supports case-insensitive 
     25 item matching behavior.
     26 
     27 * [dmenu-fuzzyhighlight-caseinsensitive-4.9.diff](dmenu-fuzzyhighlight-caseinsensitive-4.9.diff)
     28 
     29 Authors
     30 -------
     31 * Chris Noxz - <chris@noxz.tech>
     32 * Oleh Kopeykin - <olehkopeykin@yandex.by> (case-insensitive)