Index: st/config.def.h =================================================================== --- st/config.def.h.orig +++ st/config.def.h @@ -108,6 +108,15 @@ static unsigned int defaultfg = 0; static unsigned int defaultbg = 15; 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 Index: st/st.c =================================================================== --- st/st.c.orig +++ st/st.c @@ -4307,7 +4307,7 @@ main(int argc, char *argv[]) xw.l = xw.t = 0; xw.isfixed = False; - xw.cursor = 0; + xw.cursor = cursorshape; ARGBEGIN { case 'a':