Skip to content

[Bug]: Windows-style /foo\bar paths open the slash menu #27852

Closed

Description

@samkelly880

Before submitting

  • I searched existing issues and did not find a duplicate.
  • I included enough detail to reproduce or investigate the problem.

Area

packages/shared

Steps to reproduce

In the composer, type a Windows-style path such as cmd /foo\\bar or /Windows\\System32.

Expected behavior

No slash-command menu (same as /tmp/build.sh).

Actual behavior

isPathWord only checks for /, so the picker opens.

Impact

Minor bug or occasional failure

Fix

#27851

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