stdout/stderr buffer in PowerShell seems to override content on split panes in tmux. #267

Closed
opened 2026-01-30 21:47:20 +00:00 by claunia · 4 comments
Owner

Originally created by @toloveru on GitHub (May 20, 2018).

This bug-tracker is monitored by Windows Console development team and other technical types. We like detail!

If you have a feature request, please post to the UserVoice.

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.

Please use this form and describe your issue, concisely but precisely, with as much detail as possible

  • Your Windows build number: (Type ver at a Windows Command Prompt)
    Microsoft Windows [Version 10.0.16299.431]

  • What you're doing and what's happening: (Copy & paste specific commands and their output, or include screen shots)
    In WSL Bash, I opened tmux and split it up into 4 panes (2x2 configuration). Next, I executed powershell.exe in the top right window, which successfully brought me into a PowerShell. When executing "ls" some of the stdout (or whatever the equivalent in PowerShell is) is printed in the top left pane, where a completely unrelated SSH session to my Arch Linux laptop was ongoing. This seems to me like some of the content (seemingly the string "Mode LastWriteTime Length Name") is hardcoded to start at terminal window column 0 - rather than whatever tmux has decided it should start at.
    It does however seem to disappear whenever I click on the top left pane, and show the running SSH session again.
    powershell

  • What's wrong / what should be happening instead:
    The PowerShell pane should cooperate nicely with WSL Bash and its terminal window border allocations, instead of printing to another tmux pane that it shouldn't even be permitted access to.

Originally created by @toloveru on GitHub (May 20, 2018). This bug-tracker is monitored by Windows Console development team and other technical types. **We like detail!** If you have a feature request, please post to [the UserVoice](https://wpdev.uservoice.com/forums/266908). > **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. Please use this form and describe your issue, concisely but precisely, with as much detail as possible * Your Windows build number: (Type `ver` at a Windows Command Prompt) Microsoft Windows [Version 10.0.16299.431] * What you're doing and what's happening: (Copy & paste specific commands and their output, or include screen shots) In WSL Bash, I opened tmux and split it up into 4 panes (2x2 configuration). Next, I executed powershell.exe in the top right window, which successfully brought me into a PowerShell. When executing "ls" some of the stdout (or whatever the equivalent in PowerShell is) is printed in the top left pane, where a completely unrelated SSH session to my Arch Linux laptop was ongoing. This seems to me like some of the content (seemingly the string "Mode LastWriteTime Length Name") is hardcoded to start at terminal window column 0 - rather than whatever tmux has decided it should start at. It does however seem to disappear whenever I click on the top left pane, and show the running SSH session again. ![powershell](https://user-images.githubusercontent.com/19938179/40279226-e7bdb908-5c3e-11e8-90ba-19c35bc604ff.png) * What's wrong / what should be happening instead: The PowerShell pane should cooperate nicely with WSL Bash and its terminal window border allocations, instead of printing to another tmux pane that it shouldn't even be permitted access to.
claunia added the Resolution-Fix-AvailableResolution-DuplicateArea-Interop labels 2026-01-30 21:47:20 +00:00
Author
Owner

@toloveru commented on GitHub (May 21, 2018):

This may have been just an issue in that particular shell where some of the variables were borked or something like that. I've just tried to reproduce the same environment as above in a new Ubuntu window, and the issue was gone. Apologies for jumping to conclusions too quickly.

@toloveru commented on GitHub (May 21, 2018): This may have been just an issue in that particular shell where some of the variables were borked or something like that. I've just tried to reproduce the same environment as above in a new Ubuntu window, and the issue was gone. Apologies for jumping to conclusions too quickly.
Author
Owner

@miniksa commented on GitHub (May 21, 2018):

That's alright. Thank you for cleaning it up.

@miniksa commented on GitHub (May 21, 2018): That's alright. Thank you for cleaning it up.
Author
Owner

@zadjii-msft commented on GitHub (May 21, 2018):

Oh this is a known issue with interop scenarios on April Creator's Update and earlier. Unless the application is just writing raw text, it'll act REALLY poorly when run on interop.

Fortunately that's all fixed in newer builds! See #57 for details. Anything above 17618 will work like a charm :)

@zadjii-msft commented on GitHub (May 21, 2018): Oh this is a known issue with interop scenarios on April Creator's Update and earlier. Unless the application is just writing raw text, it'll act REALLY poorly when run on interop. Fortunately that's all fixed in newer builds! See #57 for details. Anything above 17618 will work like a charm :)
Author
Owner

@toloveru commented on GitHub (May 21, 2018):

@zadjii-msft That's great to hear. Not sure why I'm not on that build yet, as it seems to have been released in the stable channel already. Perhaps something like SpyBot has interfered with the updater. Guess I'll have to reinstall Windows to get on this build and get the patches. Thanks for the clarification!

@toloveru commented on GitHub (May 21, 2018): @zadjii-msft That's great to hear. Not sure why I'm not on that build yet, as it seems to have been released in the stable channel already. Perhaps something like SpyBot has interfered with the updater. Guess I'll have to reinstall Windows to get on this build and get the patches. Thanks for the clarification!
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#267