[tor-commits] [nyx/master] Replace ansi_to_output() with a working function