Bug Report: C0 control code 0x09 (TABULATOR) not properly sent to terminal emulator. #4042

Closed
opened 2026-01-30 23:36:39 +00:00 by claunia · 3 comments
Owner

Originally created by @christianparpart on GitHub (Sep 25, 2019).

Environment

Windows build number: Version 10.0.18362.356
Windows Terminal version (if applicable): 0.4.2382.0

Any other software?: as usual: *mine*. :-)

Steps to reproduce

echo -ne "a\tb"

Expected behavior

The terminal emulator should receive "a\tb\n" (or "\a\tb\r\n" respectively).

Actual behavior

Receives "a\x20\x20\x20\x20\x20\x20\x20b\n" (I'm using \x20 here, because GitHub didn't like my actual SPs :) )

Originally created by @christianparpart on GitHub (Sep 25, 2019). # Environment ```none Windows build number: Version 10.0.18362.356 Windows Terminal version (if applicable): 0.4.2382.0 Any other software?: as usual: *mine*. :-) ``` # Steps to reproduce ```sh echo -ne "a\tb" ``` # Expected behavior The terminal emulator should receive "a\tb\n" (or "\a\tb\r\n" respectively). # Actual behavior Receives `"a\x20\x20\x20\x20\x20\x20\x20b\n"` (I'm using `\x20` here, because GitHub didn't like my actual SPs :) )
claunia added the Needs-TriageResolution-Duplicate labels 2026-01-30 23:36:39 +00:00
Author
Owner

@j4james commented on GitHub (Sep 25, 2019):

I believe this is by design. To get the result you're expecting, the terminal would need to support passthrough mode, which is discussed in issue #1173.

@j4james commented on GitHub (Sep 25, 2019): I believe this is by design. To get the result you're expecting, the terminal would need to support passthrough mode, which is discussed in issue #1173.
Author
Owner

@zadjii-msft commented on GitHub (Sep 25, 2019):

Yep, this is definitely a subset of #1173. Conpty doesn't just act as a "dumb pipe" like a *nix pty. That linked thread, as well as #57, have lots on this topic.

@zadjii-msft commented on GitHub (Sep 25, 2019): Yep, this is definitely a subset of #1173. Conpty doesn't just act as a "dumb pipe" like a *nix pty. That linked thread, as well as #57, have lots on this topic.
Author
Owner

@christianparpart commented on GitHub (Sep 25, 2019):

i know. I wanted to make sure you are aware of it. so since i didn't find a duplicate (ugh? tag?) I was creating an issue for it to let you know.

@christianparpart commented on GitHub (Sep 25, 2019): i know. I wanted to make sure you are aware of it. so since i didn't find a duplicate (ugh? tag?) I was creating an issue for it to let you know.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#4042