-
Bug
-
Resolution: Done
-
Major
-
1.8
-
None
-
None
I built using the latest 1.9 tag.
When using an empty Prompt (new Prompt(""), the cursor location becomes incorrect if the user uses 'home' key (off by 1).
Possible fixes:
in aesh.readline.Buffer.java, syncCursor method, the following snippet exists:
if(newPos < 1)
newPos = 1;
I experimented with changing this to:
if(newPos < 0)
newPos = 0;
and this did resolve this particular issue. However, the repercussions of such a change are not apparent to me
- causes
-
JBEAP-14918 Beginning of the input can't be reached by home key or left arrow in console mode
- Closed