Comment 16 for bug 1197582

Revision history for this message
Antonio Terceiro (terceiro) wrote : Re: [Bug 1197582] Re: UEFI shell color codes makes it impossible to parse output with pexpect.

FTR Michael and I talked about this over IRC, and my usage of Michael's code was
not optimal. Calling flush() everytime would force outputting content
that could still contain the inicial bits of an incomplete escape
sequence. Just not calling flush() after every read does the trick.

I have just linked a branch that uses Michael's code and passes all my
unit tests. Next step is testing againt the fastmodel.