You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This commit was created on GitHub.com and signed with GitHub’s verified signature.
The key has expired.
Features:
Screen
Add the automerge to the Pixel bit field. This now controls which pixels are
automatically merged.
DOM:
Add the Canvas class and ElementFrom('canvas') function. Together users of
the library can draw using braille and block characters.
Support flexbox dom elements. This is build symmetrically to the HTML one.
All the following attributes are supported: direction, wrap, justify-content,
align-items, align-content, gap
Add the dom elements helper based on flexbox:
paragraph
paragraphAlignLeft
paragraphAlignCenter
paragraphAlignRight
paragraphAlignJustify
Add the helper elements based on flexbox: hflow(), vflow().
Add: focusPositionRelative and focusPosition
Add Table constructor from 2D vector of Element, instead of string.
Component
Add the collapsible component.
Add the ScreenInteractive::WithRestoredIO. This decorates a callback. This
runs it with the terminal hooks temporarilly uninstalled. This is useful if
you want to execute command using directly stdin/stdout/sterr.
Bug
Table
The table horizontal and vertical separator are now correctly expanded.
Component
Input shouldn't take focus when hovered by the mouse.
Modifying Input's during on_enter/on_change event is now working correctly.
Breaking changes:
The behavior of paragraph has been modified. It now returns en Element,
instead of a list of elements.