Clear the console line as well

Useful in the instance that the line from the console input buffer is larger than the incoming text to the jline console.

Signed-off-by: Robert Xu <robxu9@gmail.com>
Merge pull request #2161 from robxu9/patch-1

Clear the console line as well