-
Notifications
You must be signed in to change notification settings - Fork 182
New issue
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
Wrong escaping of backslash symbol - first backslash in sequnce getting swallowed #74
Comments
The same thing happens to history items |
The problem is located somewhere in .exapndEvents() function; setting consoleReader.setExpandEvents(false) resolves the issue. The actual place where problem is located:
of .finishBuffer() function. |
We are having the same problem. |
The purpose of escaping is to allow characters used in event designators to be used nonetheless. |
…signator escape and removed.
When you do [ConsoleReader instance].readLine() the following oddity with backslashes exists:
\ - single backslash is simply ignored
\ - two backslashes is represented as single backslash
\\ - three backslashes is represented as two backslashes \
etc
The text was updated successfully, but these errors were encountered: