sindresorhus / ansi-escapes

ANSI escape codes for manipulating the terminal
MIT License
494 stars 44 forks source link

More escapes! fun! #12

Open boneskull opened 5 years ago

boneskull commented 5 years ago

iTerm supports many proprietary escapes, and it might be cool to implement more of them.

There's also a bunch of "OSC" escapes which various terminals implement, though it's unclear to me if those escape codes are standardized in any way. It's seemingly non-trivial to get a list of which of these any given terminal supports...

For example, OSC 9 seems to be "Growl notification" as implemented by iTerm, hterm, and probably others--but I'm going to wager that implementing terminal sniffing is better suited to higher-level modules (e.g., term-img-cli).

If you're amenable to adding stuff, I'm curious:

  1. if there's anything in particular you want to avoid, and
  2. how one should go about testing any new additions

Thanks!

sindresorhus commented 5 years ago
  1. I want to avoid adding additional dependencies.
  2. I don't think there's any way to test these other than manually.