updated for version 7.0-229
diff --git a/src/getchar.c b/src/getchar.c
index 447805e..912c0d2 100644
--- a/src/getchar.c
+++ b/src/getchar.c
@@ -2183,7 +2183,7 @@
 			}
 			/* Need more chars for partly match. */
 			if (mlen == typebuf.tb_len)
-			    keylen = KL_PART_MAP;
+			    keylen = KL_PART_KEY;
 			else if (max_mlen < mlen)
 			    /* no match, may have to check for termcode at
 			     * next character */