Skip to content

Suggestion: pack terminal state to a serializable object #23

Open

Description

@slezica

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

  1. erikrose commented on Aug 20, 2012

    @erikrose
    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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions