diff options
-rw-r--r-- | config.def.h | 1 | ||||
-rw-r--r-- | st.c | 2 |
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; | |||
111 | * 2: Block | 111 | * 2: Block |
112 | * 4: Underline | 112 | * 4: Underline |
113 | * 6: IBeam | 113 | * 6: IBeam |
114 | * 7: Snowman | ||
114 | */ | 115 | */ |
115 | static unsigned int cursorshape = 2; | 116 | static unsigned int cursorshape = 2; |
116 | 117 | ||
@@ -3863,6 +3863,8 @@ xdrawcursor(void) | |||
3863 | /* draw the new one */ | 3863 | /* draw the new one */ |
3864 | if (xw.state & WIN_FOCUSED) { | 3864 | if (xw.state & WIN_FOCUSED) { |
3865 | switch (xw.cursor) { | 3865 | switch (xw.cursor) { |
3866 | case 7: /* st extension: snowman */ | ||
3867 | utf8decode("☃", &g.u, UTF_SIZ); | ||
3866 | case 0: /* Blinking Block */ | 3868 | case 0: /* Blinking Block */ |
3867 | case 1: /* Blinking Block (Default) */ | 3869 | case 1: /* Blinking Block (Default) */ |
3868 | case 2: /* Steady Block */ | 3870 | case 2: /* Steady Block */ |