Dear monks,
I would like to insert a program's output to a Tk::Text widget, but some times the program uses \r to refresh one line. While this seems ok when sent to a terminal, in the Tk::Text widget I get a lot of useless output filling my text widget. Is there a simple way to emulate the terminal (stripping \r's and refreshing?)
I am using fileevent to get the program's output
Thank you in advance