mirror of
https://github.com/opensim/opensim.git
synced 2026-08-08 10:15:33 +08:00
Refactor. Make ConsoleBase a true base class. Create CommandConsole as a simple
console capable of processing commands. Create LocalConsole as a console that uses cursor control and context help. Precursor to a distributed console system for the new grid services. No functional change intended :)
This commit is contained in:
@@ -92,8 +92,10 @@ namespace OpenSim
|
||||
//GCSettings.LatencyMode = GCLatencyMode.Batch;
|
||||
//m_log.InfoFormat("[OPENSIM MAIN]: GC Latency Mode: {0}", GCSettings.LatencyMode.ToString());
|
||||
|
||||
m_console = new ConsoleBase("Region");
|
||||
m_console.SetGuiMode(m_gui);
|
||||
if (m_gui) // Driven by external GUI
|
||||
m_console = new CommandConsole("Region");
|
||||
else
|
||||
m_console = new LocalConsole("Region");
|
||||
MainConsole.Instance = m_console;
|
||||
|
||||
RegisterConsoleCommands();
|
||||
|
||||
Reference in New Issue
Block a user