aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristoph Lohmann <20h@r-36.net>2012-11-04 00:04:56 +0100
committerChristoph Lohmann <20h@r-36.net>2012-11-04 00:04:56 +0100
commit0fbe1559c8a62a87ea3af19366220bd790179f4c (patch)
tree32b64efdffa3e9aab7e4e008d8ec1bb5a29772ba
parent86261187ab92a037a44af72847f6ed304ea58e64 (diff)
Fixing meta+return. Thanks Szabolcs Nagy!
-rw-r--r--st.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/st.c b/st.c
index 4c6783b..f063029 100644
--- a/st.c
+++ b/st.c
@@ -2694,6 +2694,9 @@ kpress(XEvent *ev) {
selpaste();
break;
case XK_Return:
+ if(meta)
+ ttywrite("\033", 1);
+
if(IS_SET(MODE_CRLF)) {
ttywrite("\r\n", 2);
} else {