nishanth reddy
-
2011-06-21
If prompt has a newline character included, then cursor doesn't behave as expected.
steps to replicate:
1. add a newline character to prompt. ex. "prompt \n >>"
2. type few characters.
3. try moving the cursor to left or right.
I've made few changes to ConsoleReader.java to fix this issue which I'm attaching here.