Parse '?' and '=' parameters

The '?' and '=' characters are valid parameters in an escape sequence.
Skip them to fix rendering in various Blocktronics "16 colors" artpack
ANSIs.

Signed-off-by: Pekka Enberg <penberg@kernel.org>