shithub: qk1

Download patch

ref: 94c34b727da415e203ee31d6757a04d35a60afd4
parent: f739255cefe0c312b92df31ab3d8130e89d68796
author: qwx <qwx@sciops.net>
date: Thu Feb 4 11:25:23 EST 2021

in: override of console key for swe keyboard (thanks sigrid)

--- a/in.c
+++ b/in.c
@@ -183,6 +183,7 @@
 	case Kalt:
 	case Kaltgr:	k = K_ALT; break;
 	case Kins:	k = K_INS; break;
+	case L'§':	k = '~'; break;
 	default:
 		if(r < 0x80)
 			k = r;
--- a/qw/in.c
+++ b/qw/in.c
@@ -148,6 +148,7 @@
 	case Kalt:
 	case Kaltgr:	k = K_ALT; break;
 	case Kins:	k = K_INS; break;
+	case L'§':	k = '~'; break;
 	default:
 		if(r < 0x80)
 			k = r;