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
{{ message }}
Repository navigation
Suggestion: pack terminal state to a serializable object #23
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.
Activity
erikrose commentedon Aug 20, 2012
What kind of state are you thinking of? Saved cursor position, as for the
locationcontext 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. :-)