MCPcopy Create free account
hub / github.com/LemonOSProject/LemonOS / Clear

Method Clear

Kernel/src/videoconsole.cpp:65–69  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

63}
64
65void VideoConsole::Clear(uint8_t r, uint8_t g, uint8_t b){
66 memset(characterBuffer,0, widthInCharacters*heightInCharacters*sizeof(ConsoleCharacter));
67 cursorX = 0;
68 cursorY = 0;
69}
70
71void VideoConsole::Print(const char* str, uint8_t r, uint8_t g, uint8_t b){
72 while (*str != '\0'){

Callers

nothing calls this directly

Calls 1

memsetFunction · 0.85

Tested by

no test coverage detected