void () { assertCaretAt(0, 0); myConsole.print("Hi", ConsoleViewContentType.NORMAL_OUTPUT); myConsole.flushDeferredText(); assertCaretAt(0, 2); myConsole.print("\nprompt:", ConsoleViewContentType.NORMAL_OUTPUT); myConsole.flushDeferredText(); assertCaretAt(1, 7); }