Function setCursorPosition [src]

Sets the current coordinates of the cursor position.

Prototype

pub fn setCursorPosition( self: *SimpleTextOutput, column: usize, row: usize, ) SetCursorPositionError!void

Parameters

self: *SimpleTextOutputcolumn: usizerow: usize

Possible Errors

DeviceError
Unexpected UnexpectedError
Unsupported

Source

pub fn setCursorPosition( self: *SimpleTextOutput, column: usize, row: usize, ) SetCursorPositionError!void { switch (self._set_cursor_position(self, column, row)) { .success => {}, .device_error => return Error.DeviceError, .unsupported => return Error.Unsupported, else => |status| return uefi.unexpectedStatus(status), } }