Fix repeated ArgumentOutOfRangeException when a local OpenSim console is resized under mono

May fix mantises 3186, 3270, 4022, 4238
This commit is contained in:
Justin Clark-Casey (justincc)
2010-01-08 14:45:40 +00:00
parent 3bf69aa5a3
commit 22b1ffdc6c
2 changed files with 79 additions and 35 deletions

View File

@@ -552,8 +552,9 @@ namespace OpenSim.Framework.Console
}
}
// A console that processes commands internally
//
/// <summary>
/// A console that processes commands internally
/// </summary>
public class CommandConsole : ConsoleBase
{
private static readonly ILog m_log = LogManager.GetLogger(MethodBase.GetCurrentMethod().DeclaringType);
@@ -574,6 +575,9 @@ namespace OpenSim.Framework.Console
Output(s);
}
/// <summary>
/// Display a command prompt on the console and wait for user input
/// </summary>
public void Prompt()
{
string line = ReadLine(m_defaultPrompt + "# ", true, true);