diff options
author | Melanie | 2009-08-22 20:18:24 +0100 |
---|---|---|
committer | Melanie | 2009-08-22 20:18:24 +0100 |
commit | a22b12ecd4c8e65ae08053f0441e345750c60773 (patch) | |
tree | f72931e956fe0338430d559683036a7c7eda0871 /OpenSim/Framework/Console/CommandConsole.cs | |
parent | Merge branch 'master' of ssh://opensimulator.org/var/git/opensim (diff) | |
download | opensim-SC_OLD-a22b12ecd4c8e65ae08053f0441e345750c60773.zip opensim-SC_OLD-a22b12ecd4c8e65ae08053f0441e345750c60773.tar.gz opensim-SC_OLD-a22b12ecd4c8e65ae08053f0441e345750c60773.tar.bz2 opensim-SC_OLD-a22b12ecd4c8e65ae08053f0441e345750c60773.tar.xz |
Change prompt handling in console. No user changes
Diffstat (limited to 'OpenSim/Framework/Console/CommandConsole.cs')
-rw-r--r-- | OpenSim/Framework/Console/CommandConsole.cs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/OpenSim/Framework/Console/CommandConsole.cs b/OpenSim/Framework/Console/CommandConsole.cs index 3387013..06136ff 100644 --- a/OpenSim/Framework/Console/CommandConsole.cs +++ b/OpenSim/Framework/Console/CommandConsole.cs | |||
@@ -576,7 +576,7 @@ namespace OpenSim.Framework.Console | |||
576 | 576 | ||
577 | public void Prompt() | 577 | public void Prompt() |
578 | { | 578 | { |
579 | string line = ReadLine(m_defaultPrompt, true, true); | 579 | string line = ReadLine(m_defaultPrompt + "# ", true, true); |
580 | 580 | ||
581 | if (line != String.Empty) | 581 | if (line != String.Empty) |
582 | { | 582 | { |
@@ -592,7 +592,7 @@ namespace OpenSim.Framework.Console | |||
592 | 592 | ||
593 | public override string ReadLine(string p, bool isCommand, bool e) | 593 | public override string ReadLine(string p, bool isCommand, bool e) |
594 | { | 594 | { |
595 | System.Console.Write("{0}", prompt); | 595 | System.Console.Write("{0}", p); |
596 | string cmdinput = System.Console.ReadLine(); | 596 | string cmdinput = System.Console.ReadLine(); |
597 | 597 | ||
598 | if (isCommand) | 598 | if (isCommand) |