[AESH-77]
leading spaces will now be trimmed before calling complete and
the buffer object in ConsoleOutput