diff options
author | Jan Christoph Ebersbach <jceb@e-jc.de> | 2015-09-08 07:28:52 +0200 |
---|---|---|
committer | Christoph Lohmann <20h@r-36.net> | 2015-09-08 16:29:05 +0200 |
commit | 3ba9c8fc3f547a5762b3d4a6a16cc794446d76a3 (patch) | |
tree | b66d11245979a4147840ce70256ce6e5ae4584b8 | |
parent | 1f087aa8b70fce67e7c43f689b5fb35667b5d84c (diff) | |
download | st-3ba9c8fc3f547a5762b3d4a6a16cc794446d76a3.tar.gz st-3ba9c8fc3f547a5762b3d4a6a16cc794446d76a3.tar.bz2 |
Expose cursor shape in config.def.h
Signed-off-by: Christoph Lohmann <20h@r-36.net>
-rw-r--r-- | config.def.h | 9 | ||||
-rw-r--r-- | st.c | 2 |
2 files changed, 10 insertions, 1 deletions
diff --git a/config.def.h b/config.def.h index 7129fa1..c7ce3b4 100644 --- a/config.def.h +++ b/config.def.h @@ -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 @@ -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': |