keep some glyph modes for the cursor
authorNils Reuße <n.reusse@hxgn.net>
Wed, 29 Mar 2017 16:34:12 +0000 (18:34 +0200)
committerRoberto E. Vargas Caballero <k0ga@shike2.com>
Wed, 29 Mar 2017 16:39:21 +0000 (18:39 +0200)
st currently does not keep any mode for the cursor that was active
in the underlying glyph (e.g. italic text), the mode is always
ATTR_NULL [1].  At [2] you can find a screenshot that shows the
implications.  Other terminals (at least vte-based, such as
XFCE-terminal) keep some modes for the cursor.  I find the current
behaviour very disruptive, so here is a patch that keeps a few
(arbitrarily chosen) modes for the cursor.

[1] http://git.suckless.org/st/tree/st.c#n3963
[2] http://i.imgur.com/R2yCEaC.png


No differences found