From: Christoph Lohmann <20h@r-36.net> Date: Sat, 3 Nov 2012 23:04:56 +0000 (+0100) Subject: Fixing meta+return. Thanks Szabolcs Nagy! X-Git-Url: https://git.danieliu.xyz/?a=commitdiff_plain;h=0fbe1559c8a62a87ea3af19366220bd790179f4c;p=st.git Fixing meta+return. Thanks Szabolcs Nagy! --- 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 {