]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
teken, vt(4): Parse the "Cursor style" escape sequence
authordumbbell <dumbbell@FreeBSD.org>
Sun, 20 May 2018 14:21:20 +0000 (14:21 +0000)
committerdumbbell <dumbbell@FreeBSD.org>
Sun, 20 May 2018 14:21:20 +0000 (14:21 +0000)
commitfa23ca22d37d97c7a443e73df141eee113a51251
treeefd4cd55a7d100d99d880c27f3cfb7f93da48c59
parent29271e5a0abc9f4808745ad4a4e938cbdac2b12b
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