Function removeTerminalGraphicsSequences
Removes terminal color, bold, etc. sequences from a string, making it plain text suitable for output to a normal .txt file.
inout(char)[] removeTerminalGraphicsSequences(
inout(char)[] s
);