docs: def fullscreen(self):
          """Return a context manager that enters fullscreen mode while inside it
          and restores normal mode on leaving."""
          self.stream.write(self.enter_fullscreen)
          try:
              yield
          finally:
              self.stream.write(self.exit_fullscreen)