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
I'm working on a simulator for a computer using Rich and Textual and while playing back a run I'd like to animate the updating and the loading of words from memory. It currently looks like this:
The naive way to animate it would be to redraw a panel from scratch each time. But textual seems so dynamic that I feel like I'd be doing it wrong that way. Obviously I could create a grid of each cell in memory, but maybe that's going to far.
Should I just stick to rich.table and update parts of the table?
Any suggestions? No rush, I'd like to do it "the textual way" so I don't mind waiting for the css branch if that's what I need to do.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I'm working on a simulator for a computer using Rich and Textual and while playing back a run I'd like to animate the updating and the loading of words from memory. It currently looks like this:
The naive way to animate it would be to redraw a panel from scratch each time. But textual seems so dynamic that I feel like I'd be doing it wrong that way. Obviously I could create a grid of each cell in memory, but maybe that's going to far.
Should I just stick to rich.table and update parts of the table?
Any suggestions? No rush, I'd like to do it "the textual way" so I don't mind waiting for the css branch if that's what I need to do.
Beta Was this translation helpful? Give feedback.
All reactions