Tab completion completes current directory name being typed and then autocompletes the first subdirectory #9488

Open
opened 2026-01-31 01:55:46 +00:00 by claunia · 0 comments
Owner

Originally created by @oluf on GitHub (Jul 8, 2020).

Environment

Windows build number: Version 10.0.19042.330
Windows Terminal version (if applicable):1.1.1812.0

Any other software? none

Steps to reproduce

I installed it directly from the Microsoft Store and haven't changed any settings. I reset the app although the issue didn't resolve.

Expected behavior

When I use the tab key to autocomplete a directory name, I expect that only the directory name that I am currently typing will autocomplete (assuming that there is a matching directory name).

Actual behavior

In PowerShell:
Given I am on C:
I enter cd Windows and autocomplete with tab, it autocompletes tocd .\Windows\addins\

In Ubuntu:
Given I am in my home directory with a folder '~/projects/project_1'
I enter cd projects and autocomplete with tab, and it autocompletes to `cd projects/project_1'

Other comments:

  • I compared behaviour directly in PowerShell and Ubuntu and tab autocomplete works as expected.
  • I am also experiencing the issue described in #4448 No keyboard input, and needed to set InputServiceEnabled to 0 as a workaround
  • I don't have any issues with the tab key in any other applications
  • On the other computer on my desk (Windows 10.0.19041.329) and Windows Terminal 1.0.1811.0 tab completion works as expected - no issues there, and not experiencing the issue described in #4448.

I know there isn't much to go on here, so please advise if I can provide any additional information.

Originally created by @oluf on GitHub (Jul 8, 2020). <!-- 🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨 I ACKNOWLEDGE THE FOLLOWING BEFORE PROCEEDING: 1. If I delete this entire template and go my own path, the core team may close my issue without further explanation or engagement. 2. If I list multiple bugs/concerns in this one issue, the core team may close my issue without further explanation or engagement. 3. If I write an issue that has many duplicates, the core team may close my issue without further explanation or engagement (and without necessarily spending time to find the exact duplicate ID number). 4. If I leave the title incomplete when filing the issue, the core team may close my issue without further explanation or engagement. 5. If I file something completely blank in the body, the core team may close my issue without further explanation or engagement. All good? Then proceed! --> <!-- This bug tracker is monitored by Windows Terminal development team and other technical folks. **Important: When reporting BSODs or security issues, DO NOT attach memory dumps, logs, or traces to Github issues**. Instead, send dumps/traces to secure@microsoft.com, referencing this GitHub issue. If this is an application crash, please also provide a Feedback Hub submission link so we can find your diagnostic data on the backend. Use the category "Apps > Windows Terminal (Preview)" and choose "Share My Feedback" after submission to get the link. Please use this form and describe your issue, concisely but precisely, with as much detail as possible. --> # Environment ```none Windows build number: Version 10.0.19042.330 Windows Terminal version (if applicable):1.1.1812.0 Any other software? none ``` # Steps to reproduce I installed it directly from the Microsoft Store and haven't changed any settings. I reset the app although the issue didn't resolve. # Expected behavior When I use the tab key to autocomplete a directory name, I expect that only the directory name that I am currently typing will autocomplete (assuming that there is a matching directory name). # Actual behavior In PowerShell: Given I am on `C:` I enter `cd Windows` and autocomplete with tab, it autocompletes to`cd .\Windows\addins\` In Ubuntu: Given I am in my home directory with a folder '~/projects/project_1' I enter `cd projects` and autocomplete with tab, and it autocompletes to `cd projects/project_1' Other comments: - I compared behaviour directly in PowerShell and Ubuntu and tab autocomplete works as expected. - I am also experiencing the issue described in #4448 No keyboard input, and needed to set InputServiceEnabled to 0 as a workaround - I don't have any issues with the tab key in any other applications - On the other computer on my desk (Windows 10.0.19041.329) and Windows Terminal 1.0.1811.0 tab completion works as expected - no issues there, and not experiencing the issue described in #4448. I know there isn't much to go on here, so please advise if I can provide any additional information.
claunia added the Needs-TriageNeeds-Tag-Fix labels 2026-01-31 01:55:47 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#9488