Change prompt handling in console. No user changes

This commit is contained in:
Melanie
2009-08-22 20:18:24 +01:00
parent 173701dd63
commit a22b12ecd4
3 changed files with 10 additions and 4 deletions

View File

@@ -48,7 +48,7 @@ namespace OpenSim.Framework.Console
/// </summary>
public string DefaultPrompt
{
set { m_defaultPrompt = value + "# "; }
set { m_defaultPrompt = value; }
get { return m_defaultPrompt; }
}
protected string m_defaultPrompt;
@@ -123,7 +123,7 @@ namespace OpenSim.Framework.Console
public virtual string ReadLine(string p, bool isCommand, bool e)
{
System.Console.Write("{0}", prompt);
System.Console.Write("{0}", p);
string cmdinput = System.Console.ReadLine();
return cmdinput;