blessings
blessings copied to clipboard
Suggestion: pack terminal state to a serializable object
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.
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. :-)