Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Suggestion: pack terminal state to a serializable object #23

Open
slezica opened this issue Aug 19, 2012 · 1 comment
Open

Suggestion: pack terminal state to a serializable object #23

slezica opened this issue Aug 19, 2012 · 1 comment
Labels

Comments

@slezica
Copy link

slezica commented Aug 19, 2012

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 slezica closed this as completed Aug 19, 2012
@slezica slezica reopened this Aug 19, 2012
@erikrose
Copy link
Owner

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. :-)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants