Fixed a bug in ansi string caching that didn't take mxp into account.

This commit is contained in:
Griatch 2015-07-08 14:18:20 +02:00
parent eb598921ac
commit 8d37627dfe

View file

@ -205,7 +205,7 @@ class ANSIParser(object):
# check cached parsings
global _PARSE_CACHE
cachekey = "%s-%s-%s" % (string, strip_ansi, xterm256)
cachekey = "%s-%s-%s-%s" % (string, strip_ansi, xterm256, mxp)
if cachekey in _PARSE_CACHE:
return _PARSE_CACHE[cachekey]