magiblot / tvision

A modern port of Turbo Vision 2.0, the classical framework for text-based user interfaces. Now cross-platform and with Unicode support.
Other
1.99k stars 150 forks source link

Screen Save & Restore #86

Closed WillianBR closed 1 year ago

WillianBR commented 1 year ago

Does anybody manage to save the screen and restore it later? I need a way to create a kind of draw app in TUI. But I need to be able to save and restore the screen/desktop to memory.

If anybody is using this TV library to create tools, please call me. May be we can exchange knowledge.

magiblot commented 1 year ago

Hi Willian!

There's an official way to do this: streamable classes. However, I don't recommend anybody to use them.

Another person tried to do this, and they had to create a JSON file in order to read it later. You can find their project at https://github.com/IngvarRiga/TurboVision-dialog-designer.

WillianBR commented 1 year ago

Thank you!