This website works better with JavaScript.
Home
Explore
Help
Sign In
tovi
/
st
Watch
1
Star
0
Fork
0
Code
Issues
0
Pull Requests
0
Projects
0
Releases
0
Wiki
Activity
Browse Source
code-style: add fallthrough comment
Patch by Steve Ward, thanks.
master
Hiltjo Posthuma
5 years ago
parent
cde480c693
commit
914fb825df
2 changed files
with
2 additions
and
0 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-0
st.c
+1
-0
x.c
+ 1
- 0
st.c
View File
@ -2153,6 +2153,7 @@ tcontrolcode(uchar ascii)
return
;
case
'
\032
'
:
/* SUB */
tsetchar
(
'
?
'
,
&
term
.
c
.
attr
,
term
.
c
.
x
,
term
.
c
.
y
)
;
/* FALLTHROUGH */
case
'
\030
'
:
/* CAN */
csireset
(
)
;
break
;
+ 1
- 0
x.c
View File
@ -1528,6 +1528,7 @@ xdrawcursor(int cx, int cy, Glyph g, int ox, int oy, Glyph og)
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 */
Write
Preview
Loading…
Cancel
Save