mirror of
https://github.com/claunia/SabreTools.git
synced 2025-12-16 19:14:27 +00:00
[Build] Extract code
This commit is contained in:
@@ -349,18 +349,13 @@ namespace SabreTools.Helper
|
|||||||
i++;
|
i++;
|
||||||
|
|
||||||
// If we're not being redirected and we reached the size of the screen, pause
|
// If we're not being redirected and we reached the size of the screen, pause
|
||||||
if (!Console.IsOutputRedirected && i == Console.WindowHeight - 2)
|
if (i == Console.WindowHeight - 2)
|
||||||
{
|
{
|
||||||
i = 0;
|
i = 0;
|
||||||
Console.WriteLine("Press enter to continue...");
|
Pause();
|
||||||
Console.ReadLine();
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (!Console.IsOutputRedirected)
|
Pause();
|
||||||
{
|
|
||||||
Console.WriteLine("Press enter to continue...");
|
|
||||||
Console.ReadLine();
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
public static void Credits()
|
public static void Credits()
|
||||||
@@ -374,6 +369,11 @@ Additional code: emuLOAD, @tractivo
|
|||||||
Testing: emuLOAD, @tractivo, Kludge, Obiwantje, edc
|
Testing: emuLOAD, @tractivo, Kludge, Obiwantje, edc
|
||||||
Suggestions: edc, AcidX, Amiga12, EliUmniCk
|
Suggestions: edc, AcidX, Amiga12, EliUmniCk
|
||||||
Based on work by: The Wizard of DATz");
|
Based on work by: The Wizard of DATz");
|
||||||
|
Pause();
|
||||||
|
}
|
||||||
|
|
||||||
|
private static void Pause()
|
||||||
|
{
|
||||||
if (!Console.IsOutputRedirected)
|
if (!Console.IsOutputRedirected)
|
||||||
{
|
{
|
||||||
Console.WriteLine("Press enter to continue...");
|
Console.WriteLine("Press enter to continue...");
|
||||||
|
|||||||
Reference in New Issue
Block a user