Partial solution of #625 - introduced a merged regex to correctly sync the ANSIString table with the clean version produced by ansi_parse. Something is still amiss though, since len(ANSIString({lclook{lttest{le)) != len(ANSIString({lclook{lttest{le).split(n)[0])

This commit is contained in:
Griatch 2015-03-07 18:17:03 +01:00
parent fe48757928
commit caa9dbccaf
2 changed files with 13 additions and 7 deletions

View file

@ -845,7 +845,7 @@ class EvTable(object):
table = kwargs.pop("table", [])
# header is a list of texts. We merge it to the table's top
header = list(args)
header = [_to_ansi(head) for head in args]
self.header = header != []
if self.header:
if table: