Clear the console text buffer
| 196 | |
| 197 | // Clear the console text buffer |
| 198 | void Console::clear() |
| 199 | { |
| 200 | for(PxU32 i=0;i<CONSOLE_MAX_ROW;i++) |
| 201 | { |
| 202 | for(PxU32 j=0;j<CONSOLE_MAX_COL;j++) |
| 203 | mBuffer[i].mText[j] = '\0'; |
| 204 | |
| 205 | mBuffer[i].mColor = RendererColor(255,255,255); |
| 206 | } |
| 207 | mNewline = 0; |
| 208 | mViewBottom = 0; |
| 209 | } |
| 210 | |
| 211 | // Clear the console text buffer |
| 212 | void Console::cmdClear() |
no test coverage detected