Skip to content

Assigning to Screen.buffer to restore its state #155

@abingham

Description

@abingham

I have a situation where I need to store the state of the terminal at some point and restore it later. For pyte's Screen, is it sufficient that I a) deep copy Screen.buffer at the point I want to save and b) assign to Screen.buffer when I want to restore it? Is this officially support behavior? Is there anything else I need to do? Thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions