Function enableCursor [src]

Makes the cursor visible or invisible.

Prototype

pub fn enableCursor(self: *SimpleTextOutput, visible: bool) EnableCursorError!void

Parameters

self: *SimpleTextOutputvisible: bool

Possible Errors

DeviceError
Unexpected UnexpectedError
Unsupported

Source

pub fn enableCursor(self: *SimpleTextOutput, visible: bool) EnableCursorError!void { switch (self._enable_cursor(self, visible)) { .success => {}, .device_error => return Error.DeviceError, .unsupported => return Error.Unsupported, else => |status| return uefi.unexpectedStatus(status), } }