Anders Morken wrote:
John H. Embretsen (JIRA):
I tried the patch on Windows XP. I get two continuation "prompts" instead of 
one:

I feared as much. Well, let's see if adding the following after
each of the calls to utilMain.doPrompt() in StatementFinder helps:

/* If this looks like a CRLF sequence,
we swallow the LF to avoid double prompting on Windows. */
if(nextChar == RETURN && peekChar() == NEWLINE) {
        readChar();
}

Seems to work just fine. Continuation prompt is equal ('> ') in Win XP and Solaris with the changes you suggested. Feel free to upload a new patch :)


--
John

Reply via email to