Skip to content

Disable Event Expansion for Strings Containing Exclamation Marks '!' #25

@els-chinnr

Description

@els-chinnr

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions