code: drawterm

Download patch

ref: 5c1661230742bf0c8efef52360e1bd699b14d4de
parent: 46bd8d37d2e7579a751a82fcf792ecf568c312fe
author: Russ Cox <rsc@swtch.com>
date: Thu Jul 31 15:57:29 EDT 2008

ctl-alt is not ctl-u (tony lainson)

--- a/gui-x11/x11.c
+++ b/gui-x11/x11.c
@@ -1224,7 +1224,7 @@
 	if(k == XK_hyphen)
 		k = XK_minus;
 	/* Do control mapping ourselves if translator doesn't */
-	if(e->xkey.state&ControlMask)
+	if(e->xkey.state&ControlMask && k != Kalt)
 		k &= 0x9f;
 	if(k == NoSymbol) {
 		return;