Skip to content

Provide tty info #985

Description

@jvalkeal

Never jline versions has a rewritten terminal provider layer which gives more accurate info about presence of a tty. It would be good to extract this info and expose it to relevant places. While it's already possible to cast Terminal to TerminalExt and use its methods, this feels a little awkward.

ShellContext and/or CommandContext are places where this might get used manually. It probably needs a separate issue but having automatic way to convert command output to machine readable(i.e. json) format when pipe is used would be nice.

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

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions