/* Sets the current coordinates of the cursor position */
EFI_STATUS EFIAPI ConsoleLoggerSetCursorPosition(IN EFI_SIMPLE_TEXT_OUTPUT_PROTOCOL *This, IN UINTN Column, IN UINTN Row)
/* Sets the current coordinates of the cursor position */
EFI_STATUS EFIAPI ConsoleLoggerSetCursorPosition(IN EFI_SIMPLE_TEXT_OUTPUT_PROTOCOL *This, IN UINTN Column, IN UINTN Row)
{
  EFI_STATUS                   Status;
  CONSOLE_LOGGER_PRIVATE_DATA  *ConsoleInfo;
  if (ShellInfoObject.ShellInitSettings.BitUnion.Bits.NoConsoleOut) {
    return (EFI_UNSUPPORTED);
  }
  ConsoleInfo = CONSOLE_LOGGER_PRIVATE_DATA_FROM_THIS (This);
  Status = ConsoleInfo->OldConOut->SetCursorPosition (
                                     ConsoleInfo->OldConOut,
                                     Column,
                                     Row
                                     );
  if (!EFI_ERROR (Status)) {
    ConsoleInfo->HistoryMode.CursorColumn = (INT32)Column;
    ConsoleInfo->HistoryMode.CursorRow    = (INT32)(ConsoleInfo->OriginalStartRow + Row);
  }
  return Status;
}