diff options
author | Justin Clark-Casey (justincc) | 2010-01-08 14:45:40 +0000 |
---|---|---|
committer | Justin Clark-Casey (justincc) | 2010-01-08 14:45:40 +0000 |
commit | 22b1ffdc6ce59e3d8108ef26522dfce815b1a921 (patch) | |
tree | 99dfa2146cdd8d0f44fb7a219b89558b57462424 /OpenSim/Framework/Console/CommandConsole.cs | |
parent | Change ConsoleClient to allow quoted values to be passed through. This (diff) | |
download | opensim-SC_OLD-22b1ffdc6ce59e3d8108ef26522dfce815b1a921.zip opensim-SC_OLD-22b1ffdc6ce59e3d8108ef26522dfce815b1a921.tar.gz opensim-SC_OLD-22b1ffdc6ce59e3d8108ef26522dfce815b1a921.tar.bz2 opensim-SC_OLD-22b1ffdc6ce59e3d8108ef26522dfce815b1a921.tar.xz |
Fix repeated ArgumentOutOfRangeException when a local OpenSim console is resized under mono
May fix mantises 3186, 3270, 4022, 4238
Diffstat (limited to 'OpenSim/Framework/Console/CommandConsole.cs')
-rw-r--r-- | OpenSim/Framework/Console/CommandConsole.cs | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/OpenSim/Framework/Console/CommandConsole.cs b/OpenSim/Framework/Console/CommandConsole.cs index 9671bc2..66f483c 100644 --- a/OpenSim/Framework/Console/CommandConsole.cs +++ b/OpenSim/Framework/Console/CommandConsole.cs | |||
@@ -552,8 +552,9 @@ namespace OpenSim.Framework.Console | |||
552 | } | 552 | } |
553 | } | 553 | } |
554 | 554 | ||
555 | // A console that processes commands internally | 555 | /// <summary> |
556 | // | 556 | /// A console that processes commands internally |
557 | /// </summary> | ||
557 | public class CommandConsole : ConsoleBase | 558 | public class CommandConsole : ConsoleBase |
558 | { | 559 | { |
559 | private static readonly ILog m_log = LogManager.GetLogger(MethodBase.GetCurrentMethod().DeclaringType); | 560 | private static readonly ILog m_log = LogManager.GetLogger(MethodBase.GetCurrentMethod().DeclaringType); |
@@ -574,6 +575,9 @@ namespace OpenSim.Framework.Console | |||
574 | Output(s); | 575 | Output(s); |
575 | } | 576 | } |
576 | 577 | ||
578 | /// <summary> | ||
579 | /// Display a command prompt on the console and wait for user input | ||
580 | /// </summary> | ||
577 | public void Prompt() | 581 | public void Prompt() |
578 | { | 582 | { |
579 | string line = ReadLine(m_defaultPrompt + "# ", true, true); | 583 | string line = ReadLine(m_defaultPrompt + "# ", true, true); |