diff --git a/src/Biomatch.CLI/Biomatch.CLI.csproj b/src/Biomatch.CLI/Biomatch.CLI.csproj
index a263d59..b448bd1 100644
--- a/src/Biomatch.CLI/Biomatch.CLI.csproj
+++ b/src/Biomatch.CLI/Biomatch.CLI.csproj
@@ -11,7 +11,7 @@
-
+
diff --git a/src/Biomatch.CLI/Progress/MatchingProgress.cs b/src/Biomatch.CLI/Progress/MatchingProgress.cs
index 7c309d0..c108b4a 100644
--- a/src/Biomatch.CLI/Progress/MatchingProgress.cs
+++ b/src/Biomatch.CLI/Progress/MatchingProgress.cs
@@ -33,7 +33,12 @@ public static IProgress GetMatchingProgressReport(int totalRecordsToMatch)
if (consoleTextPrinted)
{
- Console.SetCursorPosition(0, Console.CursorTop - 2);
+ if (Console.CursorTop >= 2) {
+ Console.SetCursorPosition(0, Console.CursorTop - 2);
+ }
+ else {
+ Console.SetCursorPosition(0, 0);
+ }
}
Console.Write($"""
Progress: {currentPercentage,3}% | Record match operations performed: {completedOperations:N0}
diff --git a/src/Biomatch.Domain/Biomatch.Domain.csproj b/src/Biomatch.Domain/Biomatch.Domain.csproj
index 6ea1737..ec378c1 100644
--- a/src/Biomatch.Domain/Biomatch.Domain.csproj
+++ b/src/Biomatch.Domain/Biomatch.Domain.csproj
@@ -9,7 +9,7 @@
-
+
diff --git a/tests/Biomatch.Domain.Tests.Unit/Biomatch.Domain.Tests.Unit.csproj b/tests/Biomatch.Domain.Tests.Unit/Biomatch.Domain.Tests.Unit.csproj
index 3f4defa..e703809 100644
--- a/tests/Biomatch.Domain.Tests.Unit/Biomatch.Domain.Tests.Unit.csproj
+++ b/tests/Biomatch.Domain.Tests.Unit/Biomatch.Domain.Tests.Unit.csproj
@@ -8,8 +8,8 @@
-
-
+
+