Restore terminal image