Comment 12 for bug 1197582

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

Wow, that is cool! :-)

Unfortunately the problem is a little harder; you have not only to feed the characters little by little, but also to be able to get the filtered output in parts. In terms of your implementation, we need to be able to flush() before a complete sequence is fed into the remover, and not get a partially-fed sequence sent to the sink.