@Override
  public void close() {
    myTerminalWidget.setCursorVisible(false);
    Objects.requireNonNull(myTerminalWidget.getTtyConnector()).close();
    super.close();
  }
@Override
  public void close()