mirror of
https://github.com/LukeSmithxyz/st.git
synced 2024-11-22 07:15:59 +01:00
Fixing meta+return. Thanks Szabolcs Nagy!
This commit is contained in:
parent
86261187ab
commit
0fbe1559c8
1 changed files with 3 additions and 0 deletions
3
st.c
3
st.c
|
@ -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 {
|
||||||
|
|
Loading…
Reference in a new issue