mirror of
https://github.com/opensim/opensim.git
synced 2026-08-05 17:05:55 +08:00
Implement .ini file includes. Anything that begins with "Include-" will be
treated as another ini source to load. For example: Include-Asset = AssetSetup.ini will load AssetSetup.ini after all other ini files are done. This works recursively, too
This commit is contained in:
@@ -49,6 +49,7 @@ namespace OpenSim.Framework.Console
|
||||
private List<string> m_Scrollback = new List<string>();
|
||||
private ManualResetEvent m_DataEvent = new ManualResetEvent(false);
|
||||
private List<string> m_InputData = new List<string>();
|
||||
private uint m_LineNumber = 1;
|
||||
|
||||
public RemoteConsole(string defaultPrompt) : base(defaultPrompt)
|
||||
{
|
||||
@@ -70,7 +71,8 @@ namespace OpenSim.Framework.Console
|
||||
{
|
||||
while (m_Scrollback.Count >= 1000)
|
||||
m_Scrollback.RemoveAt(0);
|
||||
m_Scrollback.Add(level+":"+text);
|
||||
m_Scrollback.Add(String.Format("{0}", m_LineNumber)+":"+level+":"+text);
|
||||
m_LineNumber++;
|
||||
}
|
||||
System.Console.Write(text);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user