microsoft / microsoft/terminal

Autocomplete doesn't remove parenthesis before completing

Open
#18,417 2 comments 0 reactions 0 assignees View on GitHub
Issue-Bug Needs-Tag-Fix Priority-3 Product-Cmd.exe zInbox-Bug
Dominant language
C++
Stars
105k
Forks
9.6k
Avg merge
3d 17h
Merged PRs (30d)
29

Description

### Windows Terminal version

_No response_

### Windows build number

_No response_

### Other Software

_No response_

### Steps to reproduce

https://github.com/user-attachments/assets/dbf4e89f-d673-48bd-8af6-d64d29fdec78

1. Create a folder starting with a (
2. Type `cd (`
3. Hit tab

### Expected Behavior

Autocompletes to `cd ""`

### Actual Behavior

Autocompletes to `cd (""`

Contributor guide

Open the contributing guide

Research direction

Reproduce this in Windows Terminal by creating a folder whose name starts with `(`, entering `cd (`, and pressing Tab. Compare the completion with the expected `cd ""`; done means the leading parenthesis is removed before the quoted folder name is inserted.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
cli
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.