diff options
Diffstat (limited to 'OpenSim/Framework/Console/ConsoleBase.cs')
-rw-r--r-- | OpenSim/Framework/Console/ConsoleBase.cs | 17 |
1 files changed, 9 insertions, 8 deletions
diff --git a/OpenSim/Framework/Console/ConsoleBase.cs b/OpenSim/Framework/Console/ConsoleBase.cs index 721e91a..793270b 100644 --- a/OpenSim/Framework/Console/ConsoleBase.cs +++ b/OpenSim/Framework/Console/ConsoleBase.cs | |||
@@ -26,10 +26,11 @@ | |||
26 | */ | 26 | */ |
27 | 27 | ||
28 | using System; | 28 | using System; |
29 | using System.Text; | ||
30 | using System.Reflection; | ||
31 | using System.Diagnostics; | ||
32 | using System.Collections.Generic; | 29 | using System.Collections.Generic; |
30 | using System.Diagnostics; | ||
31 | using System.Reflection; | ||
32 | using System.Text; | ||
33 | using System.Threading; | ||
33 | using log4net; | 34 | using log4net; |
34 | 35 | ||
35 | namespace OpenSim.Framework.Console | 36 | namespace OpenSim.Framework.Console |
@@ -77,8 +78,8 @@ namespace OpenSim.Framework.Console | |||
77 | /// <value> | 78 | /// <value> |
78 | /// Commands organized by keyword in a tree | 79 | /// Commands organized by keyword in a tree |
79 | /// </value> | 80 | /// </value> |
80 | private Dictionary<string, Object> tree = | 81 | private Dictionary<string, object> tree = |
81 | new Dictionary<string, Object>(); | 82 | new Dictionary<string, object>(); |
82 | 83 | ||
83 | /// <summary> | 84 | /// <summary> |
84 | /// Get help for the given help string | 85 | /// Get help for the given help string |
@@ -149,7 +150,7 @@ namespace OpenSim.Framework.Console | |||
149 | return help; | 150 | return help; |
150 | } | 151 | } |
151 | 152 | ||
152 | private List<string> CollectHelp(Dictionary<string, Object> dict) | 153 | private List<string> CollectHelp(Dictionary<string, object> dict) |
153 | { | 154 | { |
154 | List<string> result = new List<string>(); | 155 | List<string> result = new List<string>(); |
155 | 156 | ||
@@ -708,7 +709,7 @@ namespace OpenSim.Framework.Console | |||
708 | 709 | ||
709 | public void LockOutput() | 710 | public void LockOutput() |
710 | { | 711 | { |
711 | System.Threading.Monitor.Enter(cmdline); | 712 | Monitor.Enter(cmdline); |
712 | try | 713 | try |
713 | { | 714 | { |
714 | if (y != -1) | 715 | if (y != -1) |
@@ -738,7 +739,7 @@ namespace OpenSim.Framework.Console | |||
738 | y = System.Console.CursorTop; | 739 | y = System.Console.CursorTop; |
739 | Show(); | 740 | Show(); |
740 | } | 741 | } |
741 | System.Threading.Monitor.Exit(cmdline); | 742 | Monitor.Exit(cmdline); |
742 | } | 743 | } |
743 | 744 | ||
744 | public void Output(string text) | 745 | public void Output(string text) |