From f2c456c23df63e93d2ad7282203b94deac9f79f5 Mon Sep 17 00:00:00 2001
From: Justin Clarke Casey
Date: Tue, 5 Aug 2008 17:28:23 +0000
Subject: * Make currently selected region appear in the region console prompt
* This region is used for single region commands (such as save-xml2)
---
OpenSim/Framework/Console/ConsoleBase.cs | 9 +++++++--
1 file changed, 7 insertions(+), 2 deletions(-)
(limited to 'OpenSim/Framework/Console')
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
///
/// The default prompt text.
///
- public string m_defaultPrompt;
+ public string DefaultPrompt
+ {
+ set { m_defaultPrompt = value + "# "; }
+ get { return m_defaultPrompt; }
+ }
+ protected string m_defaultPrompt;
///
/// Constructor.
@@ -55,7 +60,7 @@ namespace OpenSim.Framework.Console
///
public ConsoleBase(string defaultPrompt, conscmd_callback cmdparser)
{
- m_defaultPrompt = defaultPrompt + "# ";
+ DefaultPrompt = defaultPrompt;
m_cmdParser = cmdparser;
}
--
cgit v1.1