code: protected void clearLine() {
          StringBuilder sb = new StringBuilder();
          for (int i = 0; i < terminal.getWidth(); i++) {
              sb.append(" ");
          }
          console.out().print(sb.toString());
      }
docs: Clears the current line.
  The purpose of this method is to cover cases where erase line doesn't respect background color (e.g some Windows).