Skip to content

Deno TUI 0.2.0

Pre-release
Pre-release
Compare
Choose a tag to compare
@Im-Beast Im-Beast released this 27 Nov 16:20
· 694 commits to main since this release
6a56518

Changelog

  • Box component now supports frame in styler
    • Because of this change code of button and textbox have been cleaned a little
  • Added menuList component
  • Improved textBox component
    • Added support for multiline
    • value property now takes string[] instead of string
  • Supposedly fixed issue that caused child to not inherit parents styler
  • New demo has been created
  • Normalized naming scheme
    • Components that accepted text property for automatically creating label for them now use label
  • Fixed bug which caused textbox cursor to reveal hidden text
  • Canvas should have lower CPU usage (probably still can be improved)
  • Rendering framerate should be now more stable
  • TuiInstance.restartDrawing got removed
  • compileStyler now respects bg colors.

Changes needed to make previous code work with this version

  • Replace text properties for label
  • Whenever you use value property of textbox be sure to join it with newlines textbox.value.join("\n").