Type following commands.
$ ./bin/jboss-cli.sh [disconnected /] embed-server
When I type aforementioned commands the CLI prompt is rendered at first line of terminal, but the screen is not cleared before it. See attached screenshot.
WFCORE-3568 Allow CLI output scrolling