]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
teken, vt(4): Parse the "Cursor style" escape sequence
authorJean-Sébastien Pédron <dumbbell@FreeBSD.org>
Sun, 20 May 2018 14:21:20 +0000 (14:21 +0000)
committerJean-Sébastien Pédron <dumbbell@FreeBSD.org>
Sun, 20 May 2018 14:21:20 +0000 (14:21 +0000)
commit8dcd2ed3c92d5fcaca7da3d2669b7ed3bd510ac9
treeefd4cd55a7d100d99d880c27f3cfb7f93da48c59
parentb7faa59dee5a12c3a2e620847582c6764d2670f4
teken, vt(4): Parse the "Cursor style" escape sequence

The escape sequence (e.g. `^[[2 q`) was unsupported before and the
letter `q` was displayed as a typed character. The sequence is used by
Neovim for instance.

Now, it is properly parsed. However, it is ignored, so it won't change
the cursor style.

Because the escape sequence contains a space character, the
`gensequences` script had to be modified to support that. In the
`sequences` file, a space is represented as the string `SP`.
sys/teken/gensequences
sys/teken/sequences
sys/teken/teken_subr.h