mirror of
https://github.com/skoelle/marcer-gamedvd-launcher.git
synced 2026-09-17 18:50:25 +00:00
some fixes
This commit is contained in:
@@ -93,7 +93,11 @@ namespace MarcerGameDvdLauncher
|
||||
else
|
||||
{
|
||||
// out of cache bounds - attempt a direct write
|
||||
WriteConsoleLine(row, newLine);
|
||||
// Validate row against current console height to prevent ArgumentOutOfRangeException
|
||||
if (row < Console.WindowHeight)
|
||||
{
|
||||
WriteConsoleLine(row, newLine);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user