mirror of
https://github.com/alrayyes/st.git
synced 2024-11-25 04:16:23 +00:00
Snowman is everywhere.
This commit is contained in:
parent
78b04865fb
commit
52d0e82df7
2 changed files with 3 additions and 0 deletions
|
@ -111,6 +111,7 @@ static unsigned int defaultrcs = 257;
|
||||||
* 2: Block
|
* 2: Block
|
||||||
* 4: Underline
|
* 4: Underline
|
||||||
* 6: IBeam
|
* 6: IBeam
|
||||||
|
* 7: Snowman
|
||||||
*/
|
*/
|
||||||
static unsigned int cursorshape = 2;
|
static unsigned int cursorshape = 2;
|
||||||
|
|
||||||
|
|
2
st.c
2
st.c
|
@ -3863,6 +3863,8 @@ xdrawcursor(void)
|
||||||
/* draw the new one */
|
/* draw the new one */
|
||||||
if (xw.state & WIN_FOCUSED) {
|
if (xw.state & WIN_FOCUSED) {
|
||||||
switch (xw.cursor) {
|
switch (xw.cursor) {
|
||||||
|
case 7: /* st extension: snowman */
|
||||||
|
utf8decode("☃", &g.u, UTF_SIZ);
|
||||||
case 0: /* Blinking Block */
|
case 0: /* Blinking Block */
|
||||||
case 1: /* Blinking Block (Default) */
|
case 1: /* Blinking Block (Default) */
|
||||||
case 2: /* Steady Block */
|
case 2: /* Steady Block */
|
||||||
|
|
Loading…
Reference in a new issue