mirror of
https://github.com/opensim/opensim.git
synced 2026-05-27 12:26:01 +08:00
* Make currently selected region appear in the region console prompt
* This region is used for single region commands (such as save-xml2)
This commit is contained in:
@@ -46,7 +46,12 @@ namespace OpenSim.Framework.Console
|
||||
/// <summary>
|
||||
/// The default prompt text.
|
||||
/// </summary>
|
||||
public string m_defaultPrompt;
|
||||
public string DefaultPrompt
|
||||
{
|
||||
set { m_defaultPrompt = value + "# "; }
|
||||
get { return m_defaultPrompt; }
|
||||
}
|
||||
protected string m_defaultPrompt;
|
||||
|
||||
/// <summary>
|
||||
/// Constructor.
|
||||
@@ -55,7 +60,7 @@ namespace OpenSim.Framework.Console
|
||||
/// <param name="cmdparser"></param>
|
||||
public ConsoleBase(string defaultPrompt, conscmd_callback cmdparser)
|
||||
{
|
||||
m_defaultPrompt = defaultPrompt + "# ";
|
||||
DefaultPrompt = defaultPrompt;
|
||||
m_cmdParser = cmdparser;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user