booish crashes after /help, /globals, /load and /save
-----------------------------------------------------
Key: BOO-1191
URL:
http://jira.codehaus.org/browse/BOO-1191 Project: Boo
Issue Type: Bug
Components: Command line tools
Affects Versions: 0.9.1
Environment: Windows XP SP3, CLR 2.0.50727.3082
Reporter: Richard Hubers
Priority: Minor
Attachments: booish.patch
After typing /help, /globals, /load and /save, which result in a double prompt (>>>>>>), and typing 1 character, booish crashes when the Backspace key is pressed.
I tracked this down to \src\Boo.Lang.Interpreter\InteractiveInterpreter2.boo: in the TryRunCommand() method all invocations of ConsolePrintPrompt() can be removed, because ConsoleLoopEval(), which invokes TryRunCommand(), also invokes ConsolePrintPrompt(), hence the double prompt. Because of this double prompt the length of the line being edited is miscalculated.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.codehaus.org/secure/Administrators.jspa-
For more information on JIRA, see:
http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email