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 1f087aa8b7
commit 3ba9c8fc3f

@ -105,6 +105,15 @@ static unsigned int defaultfg = 7;
static unsigned int defaultbg = 0; static unsigned int defaultbg = 0;
static unsigned int defaultcs = 256; 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 * Default colour and shape of the mouse cursor

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

Loading…
Cancel
Save