iExpose cursor shape in config.def.h - st - Simple Terminal Err gopher.r-36.net 70 i Err gopher.r-36.net 70 1Log /scm/st//log.gph gopher.r-36.net 70 1Files /scm/st//files.gph gopher.r-36.net 70 1Refs /scm/st//refs.gph gopher.r-36.net 70 1README /scm/st//file/README.gph gopher.r-36.net 70 1LICENSE /scm/st//file/LICENSE.gph gopher.r-36.net 70 i--- Err gopher.r-36.net 70 1commit 3ba9c8fc3f547a5762b3d4a6a16cc794446d76a3 /scm/st//commit/3ba9c8fc3f547a5762b3d4a6a16cc794446d76a3.gph gopher.r-36.net 70 1parent 1f087aa8b70fce67e7c43f689b5fb35667b5d84c /scm/st//commit/1f087aa8b70fce67e7c43f689b5fb35667b5d84c.gph gopher.r-36.net 70 hAuthor: Jan Christoph Ebersbach URL:mailto:jceb@e-jc.de gopher.r-36.net 70 iDate: Tue, 8 Sep 2015 07:28:52 +0200 Err gopher.r-36.net 70 i Err gopher.r-36.net 70 iExpose cursor shape in config.def.h Err gopher.r-36.net 70 i Err gopher.r-36.net 70 iSigned-off-by: Christoph Lohmann <20h@r-36.net> Err gopher.r-36.net 70 i Err gopher.r-36.net 70 iDiffstat: Err gopher.r-36.net 70 i config.def.h | 9 +++++++++ Err gopher.r-36.net 70 i st.c | 2 +- Err gopher.r-36.net 70 i Err gopher.r-36.net 70 i2 files changed, 10 insertions(+), 1 deletion(-) Err gopher.r-36.net 70 i--- Err gopher.r-36.net 70 1diff --git a/config.def.h b/config.def.h /scm/st//file/config.def.h.gph gopher.r-36.net 70 i@@ -105,6 +105,15 @@ static unsigned int defaultfg = 7; Err gopher.r-36.net 70 i static unsigned int defaultbg = 0; Err gopher.r-36.net 70 i static unsigned int defaultcs = 256; Err gopher.r-36.net 70 i Err gopher.r-36.net 70 i+/* Err gopher.r-36.net 70 i+ * Default shape of cursor Err gopher.r-36.net 70 i+ * 2: Block Err gopher.r-36.net 70 i+ * 4: Underline Err gopher.r-36.net 70 i+ * 6: IBeam Err gopher.r-36.net 70 i+ */ Err gopher.r-36.net 70 i+ Err gopher.r-36.net 70 i+static unsigned int cursorshape = 2; Err gopher.r-36.net 70 i+ Err gopher.r-36.net 70 i Err gopher.r-36.net 70 i /* Err gopher.r-36.net 70 i * Default colour and shape of the mouse cursor Err gopher.r-36.net 70 1diff --git a/st.c b/st.c /scm/st//file/st.c.gph gopher.r-36.net 70 i@@ -4315,7 +4315,7 @@ main(int argc, char *argv[]) Err gopher.r-36.net 70 i Err gopher.r-36.net 70 i xw.l = xw.t = 0; Err gopher.r-36.net 70 i xw.isfixed = False; Err gopher.r-36.net 70 i- xw.cursor = 0; Err gopher.r-36.net 70 i+ xw.cursor = cursorshape; Err gopher.r-36.net 70 i Err gopher.r-36.net 70 i ARGBEGIN { Err gopher.r-36.net 70 i case 'a': Err gopher.r-36.net 70 .