[tor-commits] [nyx/master] Added function for converting ansi to output