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
Fixing meta+return. Thanks Szabolcs Nagy!
master
Christoph Lohmann
12 years ago
parent
86261187ab
commit
0fbe1559c8
1 changed files
with
3 additions
and
0 deletions
Unified View
Diff Options
Show Stats
Download Patch File
Download Diff File
+3
-0
st.c
+ 3
- 0
st.c
View File
@ -2694,6 +2694,9 @@ kpress(XEvent *ev) {
selpaste
(
)
;
selpaste
(
)
;
break
;
break
;
case
XK_Return
:
case
XK_Return
:
if
(
meta
)
ttywrite
(
"
\033
"
,
1
)
;
if
(
IS_SET
(
MODE_CRLF
)
)
{
if
(
IS_SET
(
MODE_CRLF
)
)
{
ttywrite
(
"
\r
\n
"
,
2
)
;
ttywrite
(
"
\r
\n
"
,
2
)
;
}
else
{
}
else
{
Write
Preview
Loading…
Cancel
Save