Added
- Add
Animation.stop()to stop an animation without clearing it. (#95) - Animations now support resuming after a call to
stoporclear. (#94) TextStyles.reset,TextStyles.resetForeground, andTextStyles.resetBackgroundto clear existing styles.
Fixed
- Fix
TerminalInfo.interactivenot includingoutputInteractive - Fix prompts on JS targets that were broken by KT-55817
Changed
- Source-incompatible change: All boolean fields on
TextStyleare now nullable. A null field indicates no change to the previous value when adding or nesting styles. verticalLayout{}now defaultsTextAlign.NONE, meaning it won't add any trailing whitespace to lines. You can return to the old behavior withalign = 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