aboutsummaryrefslogtreecommitdiff
path: root/x.c
AgeCommit message (Collapse)AuthorFilesLines
2017-04-04Simplify how we keep ATTRs under cursorQuentin Rameau1-3/+2
Thanks to tarug0 for the suggestion/patch.
2017-03-29keep some glyph modes for the cursorNils Reuße1-0/+3
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
2017-03-19Support xterm Ms feature to set clipboardosandov@osandov.com1-1/+0
This is used by, e.g., tmux.
2017-01-20Split X-specific code into x.cMichael Forney1-0/+1766