st

simple terminal

git clone https://9o.is/git/st.git

commit b7fe49a5f55996d9c21db3ee81510cc2f60ea845
parent 36ca6bfca8e9e0f265394c6112276292a16c352c
Author: Jan Christoph Ebersbach <jceb@e-jc.de>
Date:   Tue,  8 Sep 2015 07:28:52 +0200

Expose cursor shape in config.def.h

Signed-off-by: Christoph Lohmann <20h@r-36.net>

Diffstat:
Mconfig.def.h | 9+++++++++
Mst.c | 2+-
2 files changed, 10 insertions(+), 1 deletion(-)

diff --git 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 diff --git a/st.c b/st.c @@ -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':