aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Framework/Console/LocalConsole.cs
diff options
context:
space:
mode:
authorrandomhuman2010-09-05 21:44:46 +0100
committerJustin Clark-Casey (justincc)2010-09-10 23:19:18 +0100
commit30306a775af74e1fe080590998a71a4c7e64ad12 (patch)
treee1fc438132054d2b43cd6ff8ee133219bafad1dd /OpenSim/Framework/Console/LocalConsole.cs
parentMerge branch 'prebuild-update' (diff)
downloadopensim-SC-30306a775af74e1fe080590998a71a4c7e64ad12.zip
opensim-SC-30306a775af74e1fe080590998a71a4c7e64ad12.tar.gz
opensim-SC-30306a775af74e1fe080590998a71a4c7e64ad12.tar.bz2
opensim-SC-30306a775af74e1fe080590998a71a4c7e64ad12.tar.xz
Made it impossible to create a user with names containing spaces and prevented passwords from being echoed after enter is pressed.
Diffstat (limited to 'OpenSim/Framework/Console/LocalConsole.cs')
-rw-r--r--OpenSim/Framework/Console/LocalConsole.cs5
1 files changed, 3 insertions, 2 deletions
diff --git a/OpenSim/Framework/Console/LocalConsole.cs b/OpenSim/Framework/Console/LocalConsole.cs
index a3036d0..c968031 100644
--- a/OpenSim/Framework/Console/LocalConsole.cs
+++ b/OpenSim/Framework/Console/LocalConsole.cs
@@ -461,7 +461,8 @@ namespace OpenSim.Framework.Console
461 SetCursorLeft(0); 461 SetCursorLeft(0);
462 y = SetCursorTop(y); 462 y = SetCursorTop(y);
463 463
464 System.Console.WriteLine("{0}{1}", prompt, cmdline); 464 System.Console.WriteLine();
465 //Show();
465 466
466 lock (cmdline) 467 lock (cmdline)
467 { 468 {
@@ -486,7 +487,7 @@ namespace OpenSim.Framework.Console
486 } 487 }
487 } 488 }
488 489
489 AddToHistory(cmdline.ToString()); 490 //AddToHistory(cmdline.ToString());
490 return cmdline.ToString(); 491 return cmdline.ToString();
491 default: 492 default:
492 break; 493 break;