public void WriteLine(string msg)
{
List<string> parts = new List<string>(msg.Replace("\r", "").Split('\n'));
parts.RemoveAll(m => m.Length == 0);
if(_display == _currentLine)
{
_display += parts.Count;
}
_currentLine += parts.Count;
_buffer.AddRange(parts);
// mark time for transparent overlay
if(_currentLine >= 0)
{
_notificationTimes[_currentLine % idGameConsole.NotificationCount] = idE.System.FrameTime;
}
}