func Restore(fd int, state *State) error {
	newState := terminal.State(*state)

	return terminal.Restore(fd, &newState)
}
func Restore(fd int, state *State) error {
	newState := terminal.State(*state)

	return terminal.Restore(fd, &newState)
}
func Restore ( fd int , state * State ) error { newState := terminal . State ( * state ) return terminal . Restore ( fd , & newState ) }
// Restore restores the terminal connected to the given file descriptor to a previous state.
Restore restores the terminal connected to the given file descriptor to a previous state .