removeSgr method

String removeSgr()

Removes SGR (Select Graphic Rendition) codes in the text.

Implementation

String removeSgr() => replaceAll(sgrRe, '');