Deno TUI 0.2.0
Pre-release
Pre-release
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 ofstring
- 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 uselabel
- Components that accepted
- 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 forlabel
- Whenever you use
value
property of textbox be sure to join it with newlinestextbox.value.join("\n")
.