blessings icon indicating copy to clipboard operation
blessings copied to clipboard

Suggestion: pack terminal state to a serializable object

Open slezica opened this issue 12 years ago • 1 comments

Providing the means to easily pack the current terminal state into a restorable format would allow for easy implementation of nested Context Managers; and if that object were to be serializable (perhaps simply supporting pickle) also saving and restoring properties from persistent storage, sending them through a socket or pipe, etc.

slezica avatar Aug 19 '12 14:08 slezica

What kind of state are you thinking of? Saved cursor position, as for the location context manager?

Can you list a few use cases for state serialization aside from that? I'm trying to understand what you're asking for. Btw, I like shplot. :-)

erikrose avatar Aug 20 '12 00:08 erikrose