| 55 | } |
| 56 | |
| 57 | void ConsolePrintLn(char const* format, ...) |
| 58 | { |
| 59 | va_list args; |
| 60 | va_start(args, format); |
| 61 | vConsolePrint(format, args); |
| 62 | va_end(args); |
| 63 | |
| 64 | auto x = gConsoleWriteBufferIndex % gConsoleWidth; |
| 65 | auto s = gConsoleWidth - x; |
| 66 | memset(gConsoleWriteBuffer + gConsoleWriteBufferIndex, ' ', s); |
| 67 | gConsoleWriteBufferIndex += s; |
| 68 | } |
| 69 | |
| 70 | void CommitConsole() |
| 71 | { |
no test coverage detected