Browse Source

Expose cursor shape in config.def.h

Signed-off-by: Christoph Lohmann <20h@r-36.net>
master
Jan Christoph Ebersbach 9 years ago
committed by Christoph Lohmann
parent
commit
3ba9c8fc3f
2 changed files with 10 additions and 1 deletions
  1. +9
    -0
      config.def.h
  2. +1
    -1
      st.c

+ 9
- 0
config.def.h View File

@ -105,6 +105,15 @@ static unsigned int defaultfg = 7;
static unsigned int defaultbg = 0;
static unsigned int defaultcs = 256;
/*
* Default shape of cursor
* 2: Block
* 4: Underline
* 6: IBeam
*/
static unsigned int cursorshape = 2;
/*
* Default colour and shape of the mouse cursor


+ 1
- 1
st.c View File

@ -4315,7 +4315,7 @@ main(int argc, char *argv[])
xw.l = xw.t = 0;
xw.isfixed = False;
xw.cursor = 0;
xw.cursor = cursorshape;
ARGBEGIN {
case 'a':


Loading…
Cancel
Save