aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Framework/Console/ConsoleBase.cs
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim/Framework/Console/ConsoleBase.cs')
-rw-r--r--OpenSim/Framework/Console/ConsoleBase.cs12
1 files changed, 10 insertions, 2 deletions
diff --git a/OpenSim/Framework/Console/ConsoleBase.cs b/OpenSim/Framework/Console/ConsoleBase.cs
index 5d8e5b9..c813e91 100644
--- a/OpenSim/Framework/Console/ConsoleBase.cs
+++ b/OpenSim/Framework/Console/ConsoleBase.cs
@@ -230,7 +230,14 @@ namespace OpenSim.Framework.Console
230 { 230 {
231 try 231 try
232 { 232 {
233 return System.Console.ReadLine(); 233 string line = System.Console.ReadLine();
234 while(line == null)
235 {
236
237 line = System.Console.ReadLine();
238 }
239
240 return line;
234 } 241 }
235 catch (Exception e) 242 catch (Exception e)
236 { 243 {
@@ -357,7 +364,8 @@ namespace OpenSim.Framework.Console
357 public void Prompt() 364 public void Prompt()
358 { 365 {
359 string tempstr = CmdPrompt(m_componentName + "# "); 366 string tempstr = CmdPrompt(m_componentName + "# ");
360 RunCommand(tempstr); 367 RunCommand(tempstr);
368
361 } 369 }
362 370
363 public void RunCommand(string cmdline) 371 public void RunCommand(string cmdline)