diff --git a/OpenSim/Framework/Console/ConsoleBase.cs b/OpenSim/Framework/Console/ConsoleBase.cs index 70b3d3c6f9..f5c2bcfcb3 100644 --- a/OpenSim/Framework/Console/ConsoleBase.cs +++ b/OpenSim/Framework/Console/ConsoleBase.cs @@ -42,11 +42,20 @@ namespace OpenSim.Framework.Console private readonly object m_syncRoot = new object(); public conscmd_callback m_cmdParser; - public string m_componentName; + + /// + /// The default prompt text. + /// + public string m_defaultPrompt; - public ConsoleBase(string componentname, conscmd_callback cmdparser) + /// + /// Constructor. + /// + /// + /// + public ConsoleBase(string defaultPrompt, conscmd_callback cmdparser) { - m_componentName = componentname; + m_defaultPrompt = defaultPrompt + "# "; m_cmdParser = cmdparser; } @@ -362,7 +371,7 @@ namespace OpenSim.Framework.Console public void Prompt() { - string tempstr = CmdPrompt(m_componentName + "# "); + string tempstr = CmdPrompt(m_defaultPrompt); RunCommand(tempstr); }