ansi-escapes icon indicating copy to clipboard operation
ansi-escapes copied to clipboard

More escapes! fun!

Open boneskull opened this issue 6 years ago • 1 comments

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!

boneskull avatar May 01 '19 19:05 boneskull

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

sindresorhus avatar May 02 '19 03:05 sindresorhus