mirror of https://github.com/fdehau/tui-rs
Update Widget Trait
The draw function now take a &mut reference to the widget, allowing the widget to modify itself when drawn. This change the semantic of the draw call since the widget should now be considered "consumed" after it.pull/13/head
parent
bb61028e0c
commit
b1737ce667
Loading…
Reference in New Issue