Skip to content

Clicking a command in Terminal Chat that contains sudo produces a sudo error #16485

Description

Windows Terminal version

1.20.3491.0

Windows build number

10.0.22631.0

Other Software

Fedora Remix for WSL 39

Steps to reproduce

Ask Terminal chat for a command that will produce a multiline sudo command, for example: How do I install Kubernetes on Linux?

Expected Behavior

When clicking sudo commands in Terminal Chat to run them in a WSL instance, Terminal allows the user to enter the sudo password either before continuing passing more commands and/or without causing a sudo error.

Actual Behavior

When clicking multiline sudo commands in Terminal Chat to run them in a WSL instance, Terminal passes something to the initial sudo that causes a password error.

Recording.2023-12-19.154923.mp4

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

    Area-ChatAll things LLM or "AI"Issue-BugIt either shouldn't be doing this or needs an investigation.Needs-Tag-FixDoesn't match tag requirementsPriority-3A description (P3)Product-TerminalThe new Windows Terminal.

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions