st
simple terminal
git clone https://9o.is/git/st.git
commit 04b249913b3b9edcf63a85153e07759c6a75c04f parent 9d2c95127b862ba4896c30780006940b38d07707 Author: Christoph Lohmann <20h@r-36.net> Date: Mon, 5 Oct 2015 22:59:04 +0200 Snowman is everywhere. Diffstat:
| M | config.def.h | | | 1 | + |
| M | st.c | | | 2 | ++ |
2 files changed, 3 insertions(+), 0 deletions(-)
diff --git 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 @@ -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 */