Skip to content

Releases

2.0.0-beta2

2021-06-01

Added

  • Published artifacts for macOS

Changed

  • Update Kotlin to 1.5.10
  • All text instances and print functions now default to preformatted whitespace, meaning that spaces and newlines will be preserved. You can explicitly pass Whitespace.NORMAL to restore the previous behavior.

2.0.0-beta1

2021-03-26

Added

  • Table.contentToCsv to render a table’s cells to csv format
  • Added support for JavaScript and linux native targets
  • Getter properties for standard theme styles

Changed

  • Update Kotlin to 1.4.31
  • Improve terminal capabilities detection

2.0.0-alpha2

2021-02-02

Added

  • Terminal.progressAnimation builder to create a customizable progress bar animation
  • Improved cursor APIs and added ability to produce cursor ANSI codes as a string
  • Add ability to override detected terminal interactivity separately from the ANSI capabilities (#7)

Changed

  • Rework theming system to simplify customization

2.0.0-alpha1

2019-11-01

Mordant 2.0 is a rewrite that retains the simple APIs of Mordant 1.0, and adds support for rendering complex widgets.

Added

  • Added renderable widgets, including tables, panels, and lists
  • Added markdown rendering
  • Added a theme system to customize text styles on an entire terminal instance
  • Added animations that automatically clear the previous frame when redrawing

Changed

  • Improved terminal capability detection
  • ANSI colors and styles can now be applied through the TextColors and TextStyles top-level objects, and Terminal.print will downsample th resulting strings based on the detected terminal capabilities.

1.2.1

2019-03-17

Changed

  • Improve support for color detection in IntelliJ and VS Code terminals

1.2.0

2018-08-19

Added

  • Add functions for generating ANSI cursor movement
  • Add ability to generate ANSI color codes from any colormath color object
  • Update colormath to 1.2.0

1.1.0

2018-07-15

Added

  • Add support for XYZ and LAB color spaces

1.0.0

2017-09-24

  • Initial Release