[Build] Build.Start() -> Build.PrepareConsole()

This commit is contained in:
Matt Nadareski
2017-10-09 13:09:27 -07:00
parent ce3900c1b1
commit 32c2593c6f
2 changed files with 2 additions and 2 deletions

View File

@@ -16,7 +16,7 @@ namespace SabreTools.Library.Data
/// Readies the console and outputs the header /// Readies the console and outputs the header
/// </summary> /// </summary>
/// <param name="name">The name to be displayed as the program</param>B /// <param name="name">The name to be displayed as the program</param>B
public static void Start(string name) public static void PrepareConsole(string name)
{ {
// Dynamically create the header string, adapted from http://stackoverflow.com/questions/8200661/how-to-align-string-in-fixed-length-string // Dynamically create the header string, adapted from http://stackoverflow.com/questions/8200661/how-to-align-string-in-fixed-length-string
int width = Console.WindowWidth - 3; int width = Console.WindowWidth - 3;

View File

@@ -45,7 +45,7 @@ namespace SabreTools
if (!Console.IsOutputRedirected && scriptLocation == -1) if (!Console.IsOutputRedirected && scriptLocation == -1)
{ {
Console.Clear(); Console.Clear();
Build.Start("SabreTools"); Build.PrepareConsole("SabreTools");
} }
// Now we remove the script tag because it messes things up // Now we remove the script tag because it messes things up