diff --git a/src/term.c b/src/term.c index 3df1214337..13e3709fb4 100644 --- a/src/term.c +++ b/src/term.c @@ -5296,7 +5296,7 @@ handle_csi( if (!VIM_ISDIGIT(*ap)) first = *ap++; - if (ASCII_ISUPPER(first)) + if (first >= 'A' && first <= 'Z') { // If "first" is in [ABCDEFHPQRS] then it is actually the "trail" and // no argument follows. diff --git a/src/version.c b/src/version.c index 8ccf7d2b33..682beb0874 100644 --- a/src/version.c +++ b/src/version.c @@ -695,6 +695,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ +/**/ + 997, /**/ 996, /**/