Skip to content

Rose::StringUtility::removeAnsiEscapes

Remove ANSI escape characters.

Synopsis

Declared in <src/Rose/StringUtility/Convert.h>

[[visibility]]
std::string
removeAnsiEscapes(std::string const&);

Description

Currently handles only the "Control Sequence Introducer" commands, but these are the most common and most useful commands anyway since they include such things as cursor movement, erasing, scrolling, colors, and other graphic renditions.

Return Value

String with ANSI escapes removed.

Created with MrDocs