On 22 Feb, 04:15 pm, jonathan+twis...@jsphere.com wrote: >On Wed, Feb 22, 2012 at 17:25, Tim Allen <screwt...@froup.com> wrote: >>...that is, there's no code for 'end bold' or 'end italics' (or blink, >>dim, >>underline, invisible, any kind of colouring, etc.) just an 'end all >>special attributes' code. Therefore it's reasonable for conch's helper >>library to not handle nested formatting, since no terminal program >>will >>produce such a thing, because it's impossible to represent in the >>VT100/VT200 formatting language. > >I understand this, but then what is the point of placing content into >A.bold in the first place? Why not just drop A.bold into a flat >stream: [foo, A.bold, bar]
I think the behavior you observed is a bug in the implementation (I noticed it during our IRC conversation the other day as well, but wasn't sure if I'd made a mistake or misread something). It should be fixed, and perhaps that TODO test made to pass. :) Jean-Paul _______________________________________________ Twisted-Python mailing list Twisted-Python@twistedmatrix.com http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python