[hackers] [st] Fixing meta+return. Thanks Szabolcs Nagy! || Christoph Lohmann

From: <hg_AT_suckless.org>
Date: Sun, 4 Nov 2012 00:06:57 +0100 (CET)

changeset: 385:19d9b56f0219
tag: tip
user: Christoph Lohmann <20h_AT_r-36.net>
date: Sun Nov 04 00:04:56 2012 +0100
files: st.c
description:
Fixing meta+return. Thanks Szabolcs Nagy!


diff -r 1266d6a1062c -r 19d9b56f0219 st.c
--- a/st.c Sat Nov 03 14:05:45 2012 +0100
+++ b/st.c Sun Nov 04 00:04:56 2012 +0100
_AT_@ -2694,6 +2694,9 @@
                                 selpaste();
                         break;
                 case XK_Return:
+ if(meta)
+ ttywrite("\033", 1);
+
                         if(IS_SET(MODE_CRLF)) {
                                 ttywrite("\r\n", 2);
                         } else {
Received on Sun Nov 04 2012 - 00:06:57 CET

This archive was generated by hypermail 2.3.0 : Sun Nov 04 2012 - 00:12:19 CET