all repos — st @ 914fb825df3bde7abdd7947e54f8bf4d2b55e34e

st (suckless terminal) config

code-style: add fallthrough comment

Patch by Steve Ward, thanks.
Hiltjo Posthuma hiltjo@codemadness.org
commit

914fb825df3bde7abdd7947e54f8bf4d2b55e34e

parent

cde480c6939e62771ba3b60ef4eb848031aee9f9

2 files changed, 2 insertions(+), 0 deletions(-)

jump to
M st.cst.c

@@ -2153,6 +2153,7 @@ term.charset = 1 - (ascii - '\016');

return; case '\032': /* SUB */ tsetchar('?', &term.c.attr, term.c.x, term.c.y); + /* FALLTHROUGH */ case '\030': /* CAN */ csireset(); break;
M x.cx.c

@@ -1528,6 +1528,7 @@ if (IS_SET(MODE_FOCUSED)) {

switch (win.cursor) { case 7: /* st extension: snowman (U+2603) */ g.u = 0x2603; + /* FALLTHROUGH */ case 0: /* Blinking Block */ case 1: /* Blinking Block (Default) */ case 2: /* Steady Block */