diff --git a/setup/Setup/CustomAction.cs b/setup/Setup/CustomAction.cs index 4fb665f4daf5..916f0a70211e 100644 --- a/setup/Setup/CustomAction.cs +++ b/setup/Setup/CustomAction.cs @@ -78,6 +78,7 @@ private static void RunSTAThread(object sessionObject) powerShellShellLink.SetScreenBufferSize(120, 3000); powerShellShellLink.SetWindowSize(120, 50); } + powerShellShellLink.SetFont(); powerShellShellLink.Save(); session.Log("UpdatePSShortcut: success"); } diff --git a/setup/Setup/ShellLink.cs b/setup/Setup/ShellLink.cs index 8668707bcc4a..80144cca986d 100644 --- a/setup/Setup/ShellLink.cs +++ b/setup/Setup/ShellLink.cs @@ -435,6 +435,14 @@ public void SetWindowSize(short x, short y) this.consoleProperties.dwWindowSize = c; } + public void SetFont() + { + this.consoleProperties.FaceName = "Lucida Console"; + this.consoleProperties.uFontFamily = 54; + this.consoleProperties.uFontWeight = 400; + this.consoleProperties.uCursorSize = 25; + } + // This does more than console colors private void SetConsoleProperties() {