Open robbielyman opened 3 months ago
render
seamstress.update.time = 1/60
update
_, true
{ 'tui', 'draw' }
publish
seamstress.tui
Pane
Button
Tab
render
events periodically. render events should instead be requested by Lua.seamstress.update.time = 1/60
should request that seamstress emit anupdate
event at 60Hzmaking the value 0 or negative cancels the timer_, true
fromupdate
, a{ 'tui', 'draw' }
event is emitted{ 'tui', 'draw' }
if any of them return_, true
publish
?seamstress.tui
Pane
s contain other primitives and provide relative coordinatesButton
s respond to click events by calling a functionTab
s stack Panes