net.rubygrapefruit » ansi-control-sequence-util
A library of utilities for parsing text that contains ANSI control sequences