diff options
Diffstat (limited to '')
-rwxr-xr-x | OpenSim/Framework/Console/ConsoleBase.cs | 17 |
1 files changed, 16 insertions, 1 deletions
diff --git a/OpenSim/Framework/Console/ConsoleBase.cs b/OpenSim/Framework/Console/ConsoleBase.cs index b011719..343958b 100755 --- a/OpenSim/Framework/Console/ConsoleBase.cs +++ b/OpenSim/Framework/Console/ConsoleBase.cs | |||
@@ -68,7 +68,22 @@ namespace OpenSim.Framework.Console | |||
68 | System.Console.WriteLine(format, components); | 68 | System.Console.WriteLine(format, components); |
69 | } | 69 | } |
70 | 70 | ||
71 | public virtual string Prompt(string p, string def = null, List<char> excludedCharacters = null, bool echo = true) | 71 | public string Prompt(string p) |
72 | { | ||
73 | return Prompt(p, null, null, true); | ||
74 | } | ||
75 | |||
76 | public string Prompt(string p, string def) | ||
77 | { | ||
78 | return Prompt(p, def, null, true); | ||
79 | } | ||
80 | |||
81 | public string Prompt(string p, List<char> excludedCharacters) | ||
82 | { | ||
83 | return Prompt(p, null, excludedCharacters, true); | ||
84 | } | ||
85 | |||
86 | public virtual string Prompt(string p, string def, List<char> excludedCharacters, bool echo = true) | ||
72 | { | 87 | { |
73 | bool itisdone = false; | 88 | bool itisdone = false; |
74 | string ret = String.Empty; | 89 | string ret = String.Empty; |