Prechádzať zdrojové kódy

Merge branch 'master' of ssh://opensimulator.org/var/git/opensim

justincc 13 rokov pred
rodič
commit
30b6838837
1 zmenil súbory, kde vykonal 4 pridanie a 1 odobranie
  1. 4 1
      OpenSim/Framework/Console/LocalConsole.cs

+ 4 - 1
OpenSim/Framework/Console/LocalConsole.cs

@@ -417,7 +417,10 @@ namespace OpenSim.Framework.Console
                         SetCursorLeft(0);
                         y = SetCursorTop(y);
 
-                        System.Console.Write("{0}{1} ", prompt, cmdline);
+                        if (echo)
+                            System.Console.Write("{0}{1} ", prompt, cmdline);
+                        else
+                            System.Console.Write("{0}", prompt);
 
                         break;
                     case ConsoleKey.End: