Skip to content

Deno TUI 2.0.0-RC3

Pre-release
Pre-release
Compare
Choose a tag to compare
@Im-Beast Im-Beast released this 28 May 16:13
· 94 commits to main since this release

Release 2.0.0-RC3

Changelog

  • Huge performance improvements
    • Canvas now updates intersections of objects that actually need to be recomputed
      • >50% improvement in demo with Frame enabled (6-9% -> 2-4% cpu usage)1
    • Effect now runs once per root signal (less unnecessary updates)
  • Enabled Frame's around objects in demo by default
  • Text component now re-uses TextRectangle type from TextObject
  • Input reader now properly handles multiple sequence sent at once
    • This fixes moving cursor diagonally in Windows Terminal, alacritty, kitty and more
  • Fixed table spacing being too wide
  • Fixed multiple bugs with Signals
  • Added jink method to Signals which allow to change value inside Effect or Computed without being appended as dependency.
  • Fixed Button compoent creating unnecessary label component each time its value changed
  • Fixed Label component being sometimes one update back

1 – Read from htop on mine Ryzen 7 5700G, your mileage may vary, however relative performance should be around the same

Full Changelog: 2.0.0-RC2...2.0.0-RC3