ansi_modifier 1.1.0 copy "ansi_modifier: ^1.1.0" to clipboard
ansi_modifier: ^1.1.0 copied to clipboard

Style and animate terminal output by adding, replacing, modifying, and clearing ANSI escape codes.

1.1.0 #

  • The class Ansi is now an extension type on String.
  • The class FontModifier is a subclass of Ansi.
  • The extension method style() now supports the edit methods: EditMethod.add (default), EditMethod.addToExisting, EditMethod.clearExisting, EditMethod.replaceFirst, EditMethod.replaceAll.

1.0.0 #

  • Requires Dart ^3.13.0.
  • Uses short constructor syntax.

0.1.5 #

  • Updated dev dependencies.

0.1.4 #

  • Added progress indicator example

0.1.3 #

  • Updated dev dependencies.
  • Corrected documentation.

0.1.2 #

  • Added named constructor for generating ansi sequences that move the current cursor position. (Use with stdout.write()).
  • Added example showing how to move the current cursor position.
  • Updated dart.yml actions.

0.1.1 #

  • Added Ansi modifiers.

0.1.0 #

  • Breaking change: renamed method modify() -> style() and removeAnsi() -> clearStyle().

0.0.1 #

  • Initial version
2
likes
160
points
270
downloads

Documentation

API reference

Publisher

verified publishersimphotonics.com

Weekly Downloads

Style and animate terminal output by adding, replacing, modifying, and clearing ANSI escape codes.

Repository (GitHub)
View/report issues

Topics

#ansi #escape-code #console #color #cursor-position

License

BSD-3-Clause (license)

More

Packages that depend on ansi_modifier