github ajalt/mordant 2.0.0-beta13

latest releases: 3.0.2, 3.0.1, 3.0.0...
2 years ago

Added

  • Add Animation.stop() to stop an animation without clearing it. (#95)
  • Animations now support resuming after a call to stop or clear. (#94)
  • TextStyles.reset, TextStyles.resetForeground, and TextStyles.resetBackground to clear existing styles.

Fixed

  • Fix TerminalInfo.interactive not including outputInteractive
  • Fix prompts on JS targets that were broken by KT-55817

Changed

  • Source-incompatible change: All boolean fields on TextStyle are now nullable. A null field indicates no change to the previous value when adding or nesting styles.
  • verticalLayout{} now defaults TextAlign.NONE, meaning it won't add any trailing whitespace to lines. You can return to the old behavior with align = TextAlign.LEFT.
  • When nesting styles, the outer style will now override inner styles at the start of a string. (e.g. red(blue("x")) == red("x"))
  • Definition List terms and entries can now be empty

Don't miss a new mordant release

NewReleases is sending notifications on new releases.