Skip to content

2.0.0-alpha1

Pre-release
Pre-release
Compare
Choose a tag to compare
@ajalt ajalt released this 02 Feb 21:53
· 513 commits to master since this release

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.