google / ansicolor-dart

Apache License 2.0
104 stars 26 forks source link

An opportunity to collaborate w/ pkg:io ? #16

Closed kevmoo closed 4 years ago

kevmoo commented 6 years ago

We have basic ansi support: https://github.com/dart-lang/io/blob/master/lib/src/ansi_code.dart

Would be interesting to combine efforts and reduce duplication?

jtmcdole commented 6 years ago

SGTM

I think this could still be somewhat useful in chrome logs as well, since you can colorize the console: console.log('%c Oh my heavens! ', 'background: #222; color: #bada55');

kevmoo commented 6 years ago

Cool! didn't know that was an option in Chrome.

If you have thoughts on pkg:io, let us know...

On Tue, Mar 13, 2018 at 6:38 PM John McDole notifications@github.com wrote:

SGTM

I think this could still be somewhat useful in chrome logs as well, since you can colorize the console: console.log('%c Oh my heavens! ', 'background: #222; color: #bada55');

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/google/ansicolor-dart/issues/16#issuecomment-372875718, or mute the thread https://github.com/notifications/unsubscribe-auth/AABCir8teCK-2Hm0g9a_Ey2ULjUOUj82ks5teHStgaJpZM4SphwQ .

jtmcdole commented 4 years ago

Closing a long old issue. One thing I'd love from pkg:io/dart:io is the ability to interact with the terminal more (mouse input, sizing, better reverse CSI handling).