We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
See https://issues.apache.org/jira/browse/KARAF-6613 for details.
The text was updated successfully, but these errors were encountered:
We also suffer from this in our software. Last version that did not have this issue is 3.12.1 A fix would be great! Thanks in advance.
Sorry, something went wrong.
I fixed the issue be reverting the beginPaste() method in LineReaderImpl:
beginPaste()
LineReaderImpl
public boolean beginPaste() { final Object SELF_INSERT = new Object(); final Object END_PASTE = new Object(); KeyMap<Object> keyMap = new KeyMap<>(); keyMap.setUnicode(SELF_INSERT); keyMap.setNomatch(SELF_INSERT); keyMap.setAmbiguousTimeout(0); keyMap.bind(END_PASTE, BRACKETED_PASTE_END); StringBuilder sb = new StringBuilder(); while (true) { Object b = doReadBinding(keyMap, null); if (b == END_PASTE) { break; } String s = getLastBinding(); if ("\r".equals(s)) { s = "\n"; } sb.append(s); } regionActive = RegionType.PASTE; regionMark = getBuffer().cursor(); getBuffer().write(sb); return true; }
I'm checking for a better fix, leveraging the change introduced in #479
df9f1f9
No branches or pull requests
See https://issues.apache.org/jira/browse/KARAF-6613 for details.
The text was updated successfully, but these errors were encountered: