sites

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

index.md (1127B)


      1 undercurl
      2 =========
      3 
      4 ![undercurl example](undercurl.png)
      5 
      6 Description
      7 -----------
      8 This patch adds support for special underlines. It allows the use of the
      9 following [SGR](https://en.wikipedia.org/wiki/ANSI_escape_code#SGR) parameters:
     10 * 4:x - Where x can be 0 (No underline), 1-2 (Straight), 3 (Curly/Wavy)
     11 * 58:5:x - Where x is the index of one of the terminal colors, up to 255, that the underline will be drawn with.
     12 * 58:2:r:g:b - Where r, g and b are the red, green and blue color values of the underline respectively.
     13 * 59 - Resets the underline color to the foreground color.
     14 
     15 Three styles are available to choose from. You can do so in the `config.def.h`
     16 file by editing the `UNDERCURL_STYLE` define.
     17 
     18 Notes
     19 -----
     20 These escape codes aren't standard, but they are supported by most other
     21 terminal emulators, as well as many terminal programs (Such as Vim and NeoVim).
     22 
     23 Download
     24 --------
     25 * [st-undercurl-0.9-20240103.diff](st-undercurl-0.9-20240103.diff)
     26 * [st-undercurl-0.8.4-20210822.diff](st-undercurl-0.8.4-20210822.diff)
     27 
     28 Authors
     29 -------
     30 * vyun - ([github.com/vyuun](https://github.com/vyuun)) <hex0octal@gmail.com>