sites

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

index.md (1136B)


      1 blinking cursor
      2 ===============
      3 
      4 Description
      5 -----------
      6 This patch allows the use of a blinking cursor.
      7 
      8 To demonstrate the available cursor styles, try these commands:
      9 	echo -e -n "\x1b[\x30 q" # Blinking block
     10 	echo -e -n "\x1b[\x31 q" # Blinking block (default)
     11 	echo -e -n "\x1b[\x32 q" # Steady block
     12 	echo -e -n "\x1b[\x33 q" # Blinking underline
     13 	echo -e -n "\x1b[\x34 q" # Steady underline
     14 	echo -e -n "\x1b[\x35 q" # Blinking bar
     15 	echo -e -n "\x1b[\x36 q" # Steady bar
     16 	echo -e -n "\x1b[\x37 q" # Blinking st cursor
     17 	echo -e -n "\x1b[\x38 q" # Steady st cursor
     18 
     19 When drawing is triggered, the cursor does not blink.
     20 
     21 Notes
     22 -----
     23 * Only cursor styles 0, 1, 3, 5, and 7 blink.  Set `cursorstyle` accordingly.
     24 * Cursor styles are defined [here](https://invisible-island.net/xterm/ctlseqs/ctlseqs.html#h4-Functions-using-CSI-_-ordered-by-the-final-character-lparen-s-rparen:CSI-Ps-SP-q.1D81).
     25 
     26 Download
     27 --------
     28 * [st-blinking\_cursor-20230819-3a6d6d7.diff](st-blinking_cursor-20230819-3a6d6d7.diff)
     29 
     30 Authors
     31 -------
     32 * Genki Sky - <https://lists.suckless.org/hackers/1708/15376.html>
     33 * Steven Ward - <planet36@gmail.com>
     34 * jvyden