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!
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 copyScreen.bufferat the point I want to save and b) assign toScreen.bufferwhen I want to restore it? Is this officially support behavior? Is there anything else I need to do? Thanks!