Created
March 23, 2020 21:33
-
-
Save kant2002/6e8030f19f7f1eded273e0bf2407b45e to your computer and use it in GitHub Desktop.
Trivial Port of Console operations
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public unsafe static ConsoleColor ForegroundColor | |
{ | |
set | |
{ | |
s_consoleAttribute = (ushort)value; | |
uint color = s_consoleAttribute; | |
EfiRuntimeHost.SystemTable->ConOut->SetAttribute(EfiRuntimeHost.SystemTable->ConOut, color); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment