mirror of
https://github.com/Stone-Red-Code/RemSox.git
synced 2026-09-04 00:56:19 +02:00
Add process exception handling and clean window closing logic
This commit is contained in:
@@ -140,14 +140,13 @@ public class TerminalProcess : Process
|
||||
// The last line is the input line
|
||||
textLines[maxLines].Content = "> " + currentInput + "_";
|
||||
textLines[maxLines].Position = new Point(5, startY + (maxLines * LineHeight));
|
||||
|
||||
// Hide any extra text lines we don't need
|
||||
// Hide any extra text lines we don't need
|
||||
for (int i = maxLines + 1; i < textLines.Count; i++)
|
||||
{
|
||||
textLines[i].Content = "";
|
||||
}
|
||||
|
||||
window.Flush();
|
||||
}
|
||||
|
||||
window.Flush();
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user