Clear console when aborting.
This commit is contained in:
parent
2c84688925
commit
73f19c3989
@ -191,6 +191,7 @@ public static class Tranga_Cli
|
|||||||
|
|
||||||
if (selectedTask.Length == 1 && selectedTask.ToLower() == "q")
|
if (selectedTask.Length == 1 && selectedTask.ToLower() == "q")
|
||||||
{
|
{
|
||||||
|
Console.Clear();
|
||||||
Console.WriteLine("aborted.");
|
Console.WriteLine("aborted.");
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
@ -227,6 +228,7 @@ public static class Tranga_Cli
|
|||||||
|
|
||||||
if (selectedTask.Length == 1 && selectedTask.ToLower() == "q")
|
if (selectedTask.Length == 1 && selectedTask.ToLower() == "q")
|
||||||
{
|
{
|
||||||
|
Console.Clear();
|
||||||
Console.WriteLine("aborted.");
|
Console.WriteLine("aborted.");
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
@ -261,6 +263,7 @@ public static class Tranga_Cli
|
|||||||
|
|
||||||
if (selectedTask.Length == 1 && selectedTask.ToLower() == "q")
|
if (selectedTask.Length == 1 && selectedTask.ToLower() == "q")
|
||||||
{
|
{
|
||||||
|
Console.Clear();
|
||||||
Console.WriteLine("aborted.");
|
Console.WriteLine("aborted.");
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
@ -303,6 +306,7 @@ public static class Tranga_Cli
|
|||||||
|
|
||||||
if (selectedConnector.Length == 1 && selectedConnector.ToLower() == "q")
|
if (selectedConnector.Length == 1 && selectedConnector.ToLower() == "q")
|
||||||
{
|
{
|
||||||
|
Console.Clear();
|
||||||
Console.WriteLine("aborted.");
|
Console.WriteLine("aborted.");
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
@ -343,6 +347,7 @@ public static class Tranga_Cli
|
|||||||
|
|
||||||
if (selectedPublication.Length == 1 && selectedPublication.ToLower() == "q")
|
if (selectedPublication.Length == 1 && selectedPublication.ToLower() == "q")
|
||||||
{
|
{
|
||||||
|
Console.Clear();
|
||||||
Console.WriteLine("aborted.");
|
Console.WriteLine("aborted.");
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user