Explorar el Código

Fixing meta+return. Thanks Szabolcs Nagy!

Christoph Lohmann hace 12 años
padre
commit
0fbe1559c8
Se han modificado 1 ficheros con 3 adiciones y 0 borrados
  1. 3 0
      st.c

+ 3 - 0
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 {