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:
parent
fe48757928
commit
caa9dbccaf
2 changed files with 13 additions and 7 deletions
|
|
@ -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:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue