Output of command in command prompt wrong... #3767

Closed
opened 2026-01-30 23:29:40 +00:00 by claunia · 5 comments
Owner

Originally created by @Luuk34 on GitHub (Sep 6, 2019).

Windows Terminal 0.4.2382.0
Windows 10


# Steps to reproduce

RUN 'Windows Terminal' with two command-prompts.
Run next command in both prompt (simultanuously)
for /l %f in (1,1,100000) do @echo abcdefghijklmnopqrstuvwxyz %f      

In de output of the first screen the 'wrong output' is found.
(not neccesarily at the point given in the example)

# Expected behavior

correct output,
100000 lines containing the alphabet, with a number at the end of the line.

# Actual behavior

In the first tab, something like this is seen:
abcdefghijklmnopqrstuvwxyz 98810
abcdefghijklmnopqrstuvwxyz 98811
abcdefghijklmnopqrstuvwxyz 98812
abcdefghijklmnopqrstuvwxyz 98813
abcdefghijklmnopqrstuvwxyz 98814
abcdefghijklmnopqrstuvwxyz 98815
]0;CMD - echo  abcdefghiz 98816
                         abcdefghijklmnopqrstuvwxyz 98817
abcdefghijklmnopqrstuvwxyz 98818
abcdefghijklmnopqrstuvwxyz 98819
abcdefghijklmnopqrstuvwxyz 98820
abcdefghijklmnopqrstuvwxyz 98821
abcdefghijklmnopqrstuvwxyz 98822
abcdefghijklmnopqrstuvwxyz 98823
abcdefghijklmnopqrstuvwxyz 98824
abcdefghijklmnopqrstuvwxyz 98825
Originally created by @Luuk34 on GitHub (Sep 6, 2019). Windows Terminal 0.4.2382.0 Windows 10 ``` # Steps to reproduce RUN 'Windows Terminal' with two command-prompts. Run next command in both prompt (simultanuously) for /l %f in (1,1,100000) do @echo abcdefghijklmnopqrstuvwxyz %f In de output of the first screen the 'wrong output' is found. (not neccesarily at the point given in the example) # Expected behavior correct output, 100000 lines containing the alphabet, with a number at the end of the line. # Actual behavior In the first tab, something like this is seen: abcdefghijklmnopqrstuvwxyz 98810 abcdefghijklmnopqrstuvwxyz 98811 abcdefghijklmnopqrstuvwxyz 98812 abcdefghijklmnopqrstuvwxyz 98813 abcdefghijklmnopqrstuvwxyz 98814 abcdefghijklmnopqrstuvwxyz 98815 ]0;CMD - echo abcdefghiz 98816 abcdefghijklmnopqrstuvwxyz 98817 abcdefghijklmnopqrstuvwxyz 98818 abcdefghijklmnopqrstuvwxyz 98819 abcdefghijklmnopqrstuvwxyz 98820 abcdefghijklmnopqrstuvwxyz 98821 abcdefghijklmnopqrstuvwxyz 98822 abcdefghijklmnopqrstuvwxyz 98823 abcdefghijklmnopqrstuvwxyz 98824 abcdefghijklmnopqrstuvwxyz 98825
Author
Owner

@hoxha-saber commented on GitHub (Sep 8, 2019):

Old But Gold 2019-09-07 20-45-08_Trim

Yep, happens when for me too. Although it wasn't the case when when I ran normal command prompt (without windows terminal). In the gif, you can see the tabTitle changes as well as they keep on shrinking and growing.

@hoxha-saber commented on GitHub (Sep 8, 2019): ![Old But Gold 2019-09-07 20-45-08_Trim](https://user-images.githubusercontent.com/26442377/64481789-cec5d900-d1b1-11e9-9a74-0d4127a3ab31.gif) Yep, happens when for me too. Although it wasn't the case when when I ran normal command prompt (without windows terminal). In the gif, you can see the tabTitle changes as well as they keep on shrinking and growing.
Author
Owner

@ramsay-vibes commented on GitHub (Sep 8, 2019):

@hoxha-saber With reference to the tabTitle changes that you reference above, this is raised in issue #2645. Your gif is the best illustration, so far, of that tabTitle issue.

@ramsay-vibes commented on GitHub (Sep 8, 2019): @hoxha-saber With reference to the tabTitle changes that you reference above, this is raised in issue #2645. Your gif is the best illustration, so far, of that tabTitle issue.
Author
Owner

@DHowett-MSFT commented on GitHub (Sep 9, 2019):

Yeah, I've started seeing this as well. I'm a bit surprised that we're splitting up VT sequences when they come through Terminal, but that's what it looks like we're doing.

@DHowett-MSFT commented on GitHub (Sep 9, 2019): Yeah, I've started seeing this as well. I'm a bit surprised that we're splitting up VT sequences when they come through Terminal, but that's what it looks like we're doing.
Author
Owner

@DHowett-MSFT commented on GitHub (Oct 14, 2019):

This was actually a /dupe of #3108.

@DHowett-MSFT commented on GitHub (Oct 14, 2019): This was actually a /dupe of #3108.
Author
Owner

@ghost commented on GitHub (Oct 14, 2019):

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 (Oct 14, 2019): 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#3767