X-Git-Url: https://git.xinqibao.xyz/st.git/blobdiff_plain/2b6521f5d23da404a597d675d12d4c0cf89657de..6312f76ca47f94119a7740dd36f7dd6ce037e907:/st.c?ds=inline

diff --git a/st.c b/st.c
index 02ef411..367ab51 100644
--- a/st.c
+++ b/st.c
@@ -89,10 +89,6 @@ enum glyph_attribute {
 };
 
 enum cursor_movement {
-	CURSOR_UP,
-	CURSOR_DOWN,
-	CURSOR_LEFT,
-	CURSOR_RIGHT,
 	CURSOR_SAVE,
 	CURSOR_LOAD
 };
@@ -2086,7 +2082,7 @@ tputc(char *c, int len) {
 			}
 		}
 		/*
-		 * All characters which forms part of a sequence are not
+		 * All characters which form part of a sequence are not
 		 * printed
 		 */
 		return;
@@ -2715,16 +2711,13 @@ kmap(KeySym k, uint state) {
 
 	/* Check for mapped keys out of X11 function keys. */
 	for(i = 0; i < LEN(mappedkeys); i++) {
-		if(mappedkeys[i] == k) {
-			fprintf(stderr, "mapped function key.\n");
+		if(mappedkeys[i] == k)
 			break;
-		}
 	}
 	if(i == LEN(mappedkeys)) {
 		if((k & 0xFFFF) < 0xFF00)
 			return NULL;
 	}
-	fprintf(stderr, "Function key.\n");
 
 	for(kp = key; kp < key + LEN(key); kp++) {
 		mask = kp->mask;