chalk / ansi-regex

Regular expression for matching ANSI escape codes
MIT License
184 stars 79 forks source link

Match cursorSave and cursorRestore escape codes #45

Closed SamVerschueren closed 3 years ago

SamVerschueren commented 3 years ago

fixes #36

I've added additional tests that iterates over all the ansi-escapes exported strings and functions. If it's a function, I just pass in some random data.

If you want to see something done differently, let me know 🙏 .