tFixing meta+return. Thanks Szabolcs Nagy! - st - [fork] customized build of st… | |
git clone git://src.adamsgaard.dk/st | |
Log | |
Files | |
Refs | |
README | |
LICENSE | |
--- | |
commit 0fbe1559c8a62a87ea3af19366220bd790179f4c | |
parent 86261187ab92a037a44af72847f6ed304ea58e64 | |
Author: Christoph Lohmann <[email protected]> | |
Date: Sun, 4 Nov 2012 00:04:56 +0100 | |
Fixing meta+return. Thanks Szabolcs Nagy! | |
Diffstat: | |
M st.c | 3 +++ | |
1 file changed, 3 insertions(+), 0 deletions(-) | |
--- | |
diff --git a/st.c b/st.c | |
t@@ -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 { |