Handles saved state operations for the mode manager. This includes saving and restoring cursor positions, screen states, and other terminal modes.
Summary
Functions
Restores the previously saved terminal state.
Saves the current terminal state. This includes