diff --git a/src/Fallout.Build/Utilities/ConsoleUtility.cs b/src/Fallout.Build/Utilities/ConsoleUtility.cs index 1e59cb97..8d878d01 100644 --- a/src/Fallout.Build/Utilities/ConsoleUtility.cs +++ b/src/Fallout.Build/Utilities/ConsoleUtility.cs @@ -49,7 +49,8 @@ public static string PromptForInput(string question, string defaultValue) key = Console.ReadKey(intercept: true); if (ConsoleKey.A <= key.Key && key.Key <= ConsoleKey.Z || ConsoleKey.D0 <= key.Key && key.Key <= ConsoleKey.D9 - || new[] { '.', '/', '\\', '_', '-' }.Any(x => x == key.KeyChar)) + || new[] { '.', '/', '\\', '_', '-' }.Any(x => x == key.KeyChar) + || char.IsLetterOrDigit(key.KeyChar)) input.Append(key.KeyChar); else if (key.Key == ConsoleKey.Backspace && input.Length > 0) input.Remove(input.Length - 1, length: 1);