Skip to content

Instantly share code, notes, and snippets.

@beatak
Created September 21, 2022 00:18
Show Gist options
  • Save beatak/6b9097514864574690c195da00eef9ec to your computer and use it in GitHub Desktop.
Save beatak/6b9097514864574690c195da00eef9ec to your computer and use it in GitHub Desktop.
you know, for all silly terminal apps spits color code even not tty
%r{
\x1B(?:[@-Z\\-_]|\[[0-?]*[ -/]*[@-~])
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment