tree: 22715fcd07e96b7c1e452071a5c1f2858e6a5b50 [path history] [tgz]
  1. BUILD.gn
  2. README.md
  3. meta/
  4. src/
examples/diagnostics/logs/ansi-junk/README.md

ansi-junk

A proof-of-concept demonstration of how ANSI escape codes can be “leaked” by logging tools across multiple messages when rendered with log_listener in a terminal..

Building

To add this component to your build, append --with examples/diagnostics/logs/ansi-junk to the fx set invocation.

Running

$ fx shell run fuchsia-pkg://fuchsia.com/ansi-junk#meta/ansi-junk.cmx

Testing

Unit tests for ansi-junk are available in the ansi-junk-tests package.

$ fx test ansi-junk-tests