public Builder setOnCloseListener(Console.OnCloseListener onCloseListener) {
        this.onCloseListener = onCloseListener;
        return this;
      }
Set the listener that is called when the shell is closed.

@param onCloseListener
    The {@link Console.OnCloseListener}
@return This Builder object for method chaining
imitate/src/main/java/com/engineer/imitate/shell/Shell.java