aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristoph Lohmann <20h@r-36.net>2015-10-05 22:59:04 +0200
committerChristoph Lohmann <20h@r-36.net>2015-10-05 22:59:04 +0200
commit52d0e82df723297438339822f2398f83470fbcd4 (patch)
treeab9da707afb43c6af99418d364a8f4cca071ada4
parent78b04865fb5c8cb841e646058f9a24e7ec9094d2 (diff)
downloadst-52d0e82df723297438339822f2398f83470fbcd4.tar.gz
Snowman is everywhere.
-rw-r--r--config.def.h1
-rw-r--r--st.c2
2 files changed, 3 insertions, 0 deletions
diff --git a/config.def.h b/config.def.h
index 342c9d4..89732b4 100644
--- a/config.def.h
+++ b/config.def.h
@@ -111,6 +111,7 @@ static unsigned int defaultrcs = 257;
* 2: Block
* 4: Underline
* 6: IBeam
+ * 7: Snowman
*/
static unsigned int cursorshape = 2;
diff --git a/st.c b/st.c
index 782d18e..4ead319 100644
--- a/st.c
+++ b/st.c
@@ -3863,6 +3863,8 @@ xdrawcursor(void)
/* draw the new one */
if (xw.state & WIN_FOCUSED) {
switch (xw.cursor) {
+ case 7: /* st extension: snowman */
+ utf8decode("☃", &g.u, UTF_SIZ);
case 0: /* Blinking Block */
case 1: /* Blinking Block (Default) */
case 2: /* Steady Block */
remember that computers suck.