Open GoogleCodeExporter opened 9 years ago
[deleted comment]
rxvt and screen are affected in the same way:
$ for TERM in rxvt screen screen-256color; do echo -n $TERM:\ ; tput sgr0 | cat
-A; echo; done | sortrxvt: ^[[m^O
screen-256color: ^[[m^O
screen: ^[[m^O
Using a regex like
_re = re.compile("\033(\[[0-9;]*m\017?|\(B)")
fixes these as well.
Original comment by dan...@lbe.rs
on 13 May 2015 at 2:48
Original issue reported on code.google.com by
dan...@lbe.rs
on 9 Dec 2014 at 4:50Attachments: