diff options
author | Christoph Lohmann <20h@r-36.net> | 2015-10-05 22:59:04 +0200 |
---|---|---|
committer | Christoph Lohmann <20h@r-36.net> | 2015-10-05 22:59:04 +0200 |
commit | 52d0e82df723297438339822f2398f83470fbcd4 (patch) | |
tree | ab9da707afb43c6af99418d364a8f4cca071ada4 | |
parent | 78b04865fb5c8cb841e646058f9a24e7ec9094d2 (diff) | |
download | st-patched-52d0e82df723297438339822f2398f83470fbcd4.tar.bz2 st-patched-52d0e82df723297438339822f2398f83470fbcd4.tar.xz st-patched-52d0e82df723297438339822f2398f83470fbcd4.zip |
Snowman is everywhere.
-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 */ |