Function clearScreen [src]
Clears the output device(s) display to the currently selected background color.
Prototype
pub fn clearScreen(self: *SimpleTextOutput) ClearScreenError!void
Parameters
self: *SimpleTextOutput
Possible Errors
Source
pub fn clearScreen(self: *SimpleTextOutput) ClearScreenError!void {
switch (self._clear_screen(self)) {
.success => {},
.device_error => return Error.DeviceError,
.unsupported => return Error.Unsupported,
else => |status| return uefi.unexpectedStatus(status),
}
}