diff --git a/Interactive.cs b/Interactive.cs
index 5978eba..657648c 100644
--- a/Interactive.cs
+++ b/Interactive.cs
@@ -10,11 +10,15 @@ internal static class Interactive
/// True if the user selects 'Y' or presses Enter, otherwise false.
public static bool UserChoice(string choice)
{
- Console.WriteLine($"{Environment.NewLine}{choice} Y/N");
+ Console.Write($"{Environment.NewLine}{choice} Y/N: ");
var input = Console.ReadKey().Key;
if (input == ConsoleKey.Y || input == ConsoleKey.Enter)
return true;
+ // Redundant measure
+ if (input == ConsoleKey.Escape)
+ Environment.Exit(Environment.ExitCode);
+
return false;
}
@@ -40,8 +44,11 @@ internal static class Interactive
userChoices.Add($"{Environment.NewLine}{numOfTopics} {title}");
}
- var topicSelect = string.Join(", ", userChoices.ToArray());
- Console.WriteLine($"Choose a Topic{Environment.NewLine}{topicSelect}");
+ Console.WriteLine("=== Choose a Community ===");
+ foreach (var choices in userChoices)
+ Console.Write(choices);
+
+ Console.Write($"{Environment.NewLine}{Environment.NewLine}Type a number: ");
var input = Console.ReadLine();
// Attempt to parse a number.
diff --git a/Tracer.cs b/Tracer.cs
index 8ab4550..03e01b4 100644
--- a/Tracer.cs
+++ b/Tracer.cs
@@ -67,7 +67,7 @@ internal static class Tracer
///
/// Determines the appropriate output directory based on the given directory path.
/// In DEBUG mode, it always returns the current working directory.
- /// In release mode, it returns the provided directory unless it contains a '/', in which case it defaults to the current directory.
+ /// In release mode, it returns the provided directory unless it contains a "/.", in which case it defaults to the current directory.
///
/// The directory path to evaluate.
/// The resolved output directory as a string.
@@ -78,7 +78,7 @@ internal static class Tracer
#if DEBUG
return curDir;
#else
- if (dir.Contains("/"))
+ if (dir.Contains("/."))
return curDir;
return dir;
diff --git a/config.toml.sample b/config.toml.sample
index 2fe4c1e..52d781c 100644
--- a/config.toml.sample
+++ b/config.toml.sample
@@ -1,4 +1,4 @@
-path = "/"
+path = "/."
file = "example.json"
communities = [
"Games",