docs: public void print(CharSequence charSequence) {
          try {
              consoleReader.println(charSequence);
              consoleReader.flush();
          } catch (IOException e) {
              throw new IllegalStateException("Can't write to console", e);
          }
      }