diff options
Diffstat (limited to 'src/core')
| -rw-r--r-- | src/core/ansiesc.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/core/ansiesc.c b/src/core/ansiesc.c index 68e7061b3..ca9a73ce0 100644 --- a/src/core/ansiesc.c +++ b/src/core/ansiesc.c @@ -99,7 +99,8 @@ int ansiesc_process ( struct ansiesc_context *ctx, int c ) { DBG ( "Too many parameters in ANSI escape " "sequence\n" ); } - } else if ( ( c >= 0x20 ) && ( c <= 0x2f ) ) { + } else if ( ( ( c >= 0x20 ) && ( c <= 0x2f ) ) || + ( c == '?' ) ) { /* Intermediate Byte */ ctx->function <<= 8; ctx->function |= c; |
