[dev] [st] can't set reverse cursor

From: Cág <caoc_AT_riseup.net>
Date: Wed, 19 Oct 2016 11:02:03 +0100

Hi,

I have 16 colours in config.h from my palette, from 0 to 15,
with 0 (black) being defaultbg and 7 (white) being defaultfg.
My cursor is 12 (brblue) and reverse cursor is set 7 (white).
However, in reality reverse cursor is 0 (black), which is bg.
Also, setting rcs to any other colour doesn't help and it
remains the same, that of defaultbg.

Also, compiling gives me this:
--------------------------------
st.c:3135:14: warning: 'width' may be used uninitialized in this
function [-Wmaybe-uninitialized]
   if (term.c.x+width < term.col) {
       ~~~~~~~~^~~~~~
--------------------------------


Cág
Received on Wed Oct 19 2016 - 12:02:03 CEST

This archive was generated by hypermail 2.3.0 : Wed Oct 19 2016 - 12:12:11 CEST