Skip to content

Commit

Permalink
Remove if IsInShell printing new line and $
Browse files Browse the repository at this point in the history
  • Loading branch information
Kian738 committed Oct 30, 2023
1 parent 66ac6d1 commit e171c75
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions Source/Boot/EFI/Libs.h
Original file line number Diff line number Diff line change
Expand Up @@ -63,17 +63,9 @@ void InitializeLibs(EFI_HANDLE imageHandle, EFI_SYSTEM_TABLE *systemTable)
LocateProtocol(&SimpleFileSystemProtocolGuid, (void **)&FileSystem);
}

void PrintPrompt();

void Print(CHAR16 *string)
{
if (IsInShell)
NewLine();

ConOut->OutputString(ConOut, string);

if (IsInShell)
PrintPrompt();
}

void NewLine()
Expand Down

0 comments on commit e171c75

Please sign in to comment.