I am making an ssh function in my project. (with https://pub.dartlang.org/packages/ssh), right now session is connected with xterm, cmd can be expected, and the result from the ssh server is displayed in a Text widget, which will have the string like '[0m ... [0m', if I print the result into the console(print(result)), it will display correctly with the color specified, so how can I emulate a shell window which displays the result correctly in my app?
Output in console which I want to emulate in my app