aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Framework/Console/ConsoleBase.cs
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim/Framework/Console/ConsoleBase.cs')
-rw-r--r--OpenSim/Framework/Console/ConsoleBase.cs9
1 files changed, 7 insertions, 2 deletions
diff --git a/OpenSim/Framework/Console/ConsoleBase.cs b/OpenSim/Framework/Console/ConsoleBase.cs
index f5c2bcf..f21127b 100644
--- a/OpenSim/Framework/Console/ConsoleBase.cs
+++ b/OpenSim/Framework/Console/ConsoleBase.cs
@@ -46,7 +46,12 @@ namespace OpenSim.Framework.Console
46 /// <summary> 46 /// <summary>
47 /// The default prompt text. 47 /// The default prompt text.
48 /// </summary> 48 /// </summary>
49 public string m_defaultPrompt; 49 public string DefaultPrompt
50 {
51 set { m_defaultPrompt = value + "# "; }
52 get { return m_defaultPrompt; }
53 }
54 protected string m_defaultPrompt;
50 55
51 /// <summary> 56 /// <summary>
52 /// Constructor. 57 /// Constructor.
@@ -55,7 +60,7 @@ namespace OpenSim.Framework.Console
55 /// <param name="cmdparser"></param> 60 /// <param name="cmdparser"></param>
56 public ConsoleBase(string defaultPrompt, conscmd_callback cmdparser) 61 public ConsoleBase(string defaultPrompt, conscmd_callback cmdparser)
57 { 62 {
58 m_defaultPrompt = defaultPrompt + "# "; 63 DefaultPrompt = defaultPrompt;
59 m_cmdParser = cmdparser; 64 m_cmdParser = cmdparser;
60 } 65 }
61 66