v2.0.0 #317
ArthurSonzogni
announced in
Announcements
v2.0.0
#317
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Features:
Screen
automerge
to the Pixel bit field. This now controls which pixels areautomatically merged.
DOM:
Canvas
class andElementFrom('canvas')
function. Together users ofthe library can draw using braille and block characters.
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
flexbox
:paragraph
paragraphAlignLeft
paragraphAlignCenter
paragraphAlignRight
paragraphAlignJustify
flexbox
:hflow()
,vflow()
.focusPositionRelative
andfocusPosition
Table
constructor from 2D vector of Element, instead of string.Component
collapsible
component.ScreenInteractive::WithRestoredIO
. This decorates a callback. Thisruns it with the terminal hooks temporarilly uninstalled. This is useful if
you want to execute command using directly stdin/stdout/sterr.
Bug
Table
table
horizontal and vertical separator are now correctly expanded.Component
Input
shouldn't take focus when hovered by the mouse.Input
's during on_enter/on_change event is now working correctly.Breaking changes:
paragraph
has been modified. It now returns en Element,instead of a list of elements.
This discussion was created from the release v2.0.0.
Beta Was this translation helpful? Give feedback.
All reactions