Skip to main content

ansi_text 1.5.0 copy "ansi_text: ^1.5.0" to clipboard
ansi_text: ^1.5.0 copied to clipboard

A library for styling and formatting terminal text using the ANSI escape codes.

Changelog #

1.5.0 #

  • Add Styles.none
  • Update AnsiText.apply to accept Style? and treat null as a no-op.
  • Update AnsiText.applyAll and AnsiText.styled to accept Iterable<Style?>?.

1.4.0 #

  • Add screenshots metadata to pubspec.yaml
  • Add AnsiText.styled constructor
  • Add clearStyles, clearHyperlink, and clear convenience methods to AnsiText

1.3.0 #

  • Add hashCode and equals to Style
  • Remove obsolete linter rules
  • Allow applyAll to deal with sets and lists
  • Fix error in example code
  • Deduplicate reset codes when multiple styles share the same reset
  • Reduce example image file size
  • Optimize linter rules
  • Add text, styles, and hyperlinkUri getters to AnsiText

1.2.0 #

  • Add support for OSC 8 hyperlinks

1.1.0 #

  • Add global on/off switch

1.0.4 #

  • Update analysis options
  • Add library level documentation comments

1.0.3 #

  • Update README
  • Rename example program

1.0.2 #

  • Move examples.dart to example directory

1.0.1 #

  • Update pubspec

1.0.0 #

  • Initial version
4
likes
160
points
183
downloads
screenshot

Documentation

API reference

Publisher

verified publisherdrillster.dev

Weekly Downloads

A library for styling and formatting terminal text using the ANSI escape codes.

Repository (GitHub)
View/report issues

Topics

#ansi #cli #terminal #styling #formatting

License

MIT (license)

More

Packages that depend on ansi_text