blessed-contrib
blessed-contrib copied to clipboard
How to clear and redraw?
Hi,
Thanks for the amazing dashboard. Is there any way to clear and render the full dashboard again?
For more context, I'm trying to use this with https://github.com/cronvel/terminal-kit for more extensive user input. Sometimes I want to clear the screen term.clear() then redraw the dashboard. But with the screen.render() it only renders the newly added widget but not the rest that was rendered previously.
I remove the element, set it, append it and re-render it
screen.remove() grid.set(xxxxx) screen.append() screen.render()