Range to work with ansi escapes. The ESC[ parts and m must be already removed and the numbers need to be converted to uints. See https://en.wikipedia.org/wiki/ANSI_escape_code
See Implementation
Range to work with ansi escapes. The ESC[ parts and m must be already removed and the numbers need to be converted to uints. See https://en.wikipedia.org/wiki/ANSI_escape_code