pub fn enableCursor(self: *SimpleTextOutput, visible: bool) EnableCursorError!void self: *SimpleTextOutputvisible: bool134
135
136
137
138
139
140
141 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),
}
}
Makes the cursor visible or invisible.