Pasting Tab character leads to Tab Completion #16902

Closed
opened 2026-01-31 05:26:41 +00:00 by claunia · 5 comments
Owner

Originally created by @st0le on GitHub (Feb 28, 2022).

Windows Terminal version

1.13.10395.0

Windows build number

10.0.19044.0

Other Software

No response

Steps to reproduce

Copy the command below. The command is echo<space><tab><space>test.

echo test
(I now realize github strips the tab character, but you can write this in your text editor and copy it to your clipboard)

If you are adventurous,

rm thisfiledoesntexist (this will delete the first file in your directory!!)

Expected Behavior

It should paste

echo test verbatim.

Actual Behavior

echo <first-file-in-current-directory> test

The Tab completion is invoked which replaces the tab with the first entry in tab completion.

Originally created by @st0le on GitHub (Feb 28, 2022). ### Windows Terminal version 1.13.10395.0 ### Windows build number 10.0.19044.0 ### Other Software _No response_ ### Steps to reproduce Copy the command below. The command is `echo<space><tab><space>test`. `echo test` (I now realize github strips the tab character, but you can write this in your text editor and copy it to your clipboard) If you are adventurous, `rm thisfiledoesntexist` (this will delete the first file in your directory!!) ### Expected Behavior It should paste `echo test` verbatim. ### Actual Behavior `echo <first-file-in-current-directory> test` The Tab completion is invoked which replaces the tab with the first entry in tab completion.
claunia added the Issue-BugResolution-Duplicate labels 2026-01-31 05:26:41 +00:00
Author
Owner

@zadjii-msft commented on GitHub (Mar 1, 2022):

Thanks for the suggestion! This is actually already being tracked by another issue on our repo - please refer to #6134 for more discussion.

/dup #6134

@zadjii-msft commented on GitHub (Mar 1, 2022): Thanks for the suggestion! This is actually already being tracked by another issue on our repo - please refer to #6134 for more discussion. /dup #6134
Author
Owner

@ghost commented on GitHub (Mar 1, 2022):

Hi! We've identified this issue as a duplicate of another one that already exists on this Issue Tracker. This specific instance is being closed in favor of tracking the concern over on the referenced thread. Thanks for your report!

@ghost commented on GitHub (Mar 1, 2022): Hi! We've identified this issue as a duplicate of another one that already exists on this Issue Tracker. This specific instance is being closed in favor of tracking the concern over on the referenced thread. Thanks for your report!
Author
Owner

@j4james commented on GitHub (Mar 1, 2022):

@zadjii-msft I think maybe you meant #6134.

@j4james commented on GitHub (Mar 1, 2022): @zadjii-msft I think maybe you meant #6134.
Author
Owner

@zadjii-msft commented on GitHub (Mar 1, 2022):

oh my god I so did, I even had that tab open and everything. How... ugh. Thanks.

@zadjii-msft commented on GitHub (Mar 1, 2022): oh my god I so did, I even had that tab open and everything. How... ugh. Thanks.
Author
Owner

@ghost commented on GitHub (Mar 1, 2022):

Hi! We've identified this issue as a duplicate of another one that already exists on this Issue Tracker. This specific instance is being closed in favor of tracking the concern over on the referenced thread. Thanks for your report!

@ghost commented on GitHub (Mar 1, 2022): Hi! We've identified this issue as a duplicate of another one that already exists on this Issue Tracker. This specific instance is being closed in favor of tracking the concern over on the referenced thread. Thanks for your report!
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#16902