You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've found text-io to be very useful while building a console based application but have run into an issue when using StringInputReader().
If a string is entered which contains '!' e.g. 'sometext!somemoretext', then jline.console.ConsoleReader attempts to expand events from the string which raises an exception...
java.lang.IllegalArgumentException: !somemoretext: event not found
...is it possible to disable event expansion for a StringInputReader, as this is not required for my application?
The text was updated successfully, but these errors were encountered:
I just released the version 3.4.1, where the event expansion is disabled by default.
(You can enable it back by settting the system property 'jline.expandevents' to 'true'.)
I've found text-io to be very useful while building a console based application but have run into an issue when using StringInputReader().
If a string is entered which contains '!' e.g. 'sometext!somemoretext', then jline.console.ConsoleReader attempts to expand events from the string which raises an exception...
java.lang.IllegalArgumentException: !somemoretext: event not found
...is it possible to disable event expansion for a StringInputReader, as this is not required for my application?
The text was updated successfully, but these errors were encountered: