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

Method Scroll

Kernel/src/videoconsole.cpp:85–89  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

83}
84
85void VideoConsole::Scroll(){
86 memcpy(characterBuffer,(void*)(characterBuffer + widthInCharacters), widthInCharacters*(heightInCharacters-1)*sizeof(ConsoleCharacter));
87 cursorY--;
88 memset(characterBuffer + cursorY * widthInCharacters, 0, widthInCharacters * sizeof(ConsoleCharacter));
89}

Callers

nothing calls this directly

Calls 2

memcpyFunction · 0.85
memsetFunction · 0.85

Tested by

no test coverage detected