Skip to content

jline should be able to automagically disable ANSI support. #8

Description

It would be great if jline could automagically detect whether it is being used in an environment (process) which isn't connected to a terminal and thus not produce any ansi output. I think querying System.console() would be the key here.

I'm opening this issue but will also be submitting a pull request with a patch I have made.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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