We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c8d0c57 commit 0f5b1f4Copy full SHA for 0f5b1f4
src/Runly/Hosting/RunAction.cs
@@ -106,7 +106,7 @@ public async Task RunAsync(CancellationToken token)
106
{
107
Console.Write($"\rRunning {execution.Job.GetType().Name}: {execution.CompletedItemCount} items{(execution.TotalItemCount.HasValue ? " of " + execution.TotalItemCount.Value : string.Empty)} processed. {(!jobCancellation.IsCancellationRequested ? "Press 'q' to quit." : "Quitting... ")}");
108
109
- while (!jobCancellation.IsCancellationRequested && Console.KeyAvailable)
+ while (!jobCancellation.IsCancellationRequested && !Console.IsInputRedirected && Console.KeyAvailable)
110
111
var key = Console.ReadKey();
112
0 commit comments