yterm

commit 7925a25f069404d236fead7b4c05e01ac4e4eb7d

Author: mesyeti <mesyeti@mesyeti.uk>

fix another input bug

 source/interpreter/vt100.c | 3 +--


diff --git a/source/interpreter/vt100.c b/source/interpreter/vt100.c
index a9734c938090c2e08c8fe20362002e2e84045cbc..1addcd6d1118a165e2a1d67782141903b5d24e22 100644
--- a/source/interpreter/vt100.c
+++ b/source/interpreter/vt100.c
@@ -50,8 +50,7 @@ 		default: break;
 	}
 
 	if (Input_KeyPressed(KEY_LCTRL) || (Input_KeyPressed(KEY_RCTRL))) {
-		if ((key >= KEY_A) || (key <= KEY_Z)) {
-			// char ch = ((char) (key + ('A' - 1))) & 0x1F;
+		if ((key >= KEY_A) && (key <= KEY_Z)) {
 			char ch = ((char) ((key - KEY_A) + 'A')) & 0x1F;
 
 			static char ret[2];