Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Windows] OSC sequences don't give any response #5899

Closed
TheLeoP opened this issue Aug 5, 2024 · 2 comments
Closed

[Windows] OSC sequences don't give any response #5899

TheLeoP opened this issue Aug 5, 2024 · 2 comments
Labels
bug Something isn't working

Comments

@TheLeoP
Copy link

TheLeoP commented Aug 5, 2024

What Operating System(s) are you seeing this problem on?

Windows

Which Wayland compositor or X11 Window manager(s) are you using?

No response

WezTerm version

20240730-082727-56a27e93

Did you try the latest nightly build to see if the issue is better (or worse!) than your current version?

Yes, and I updated the version box above to show the version of the nightly that I tried

Describe the bug

OSC escape codes that should output a value, don't output anything

To Reproduce

  1. wezterm
  2. powershell (other shells like git's bash or wsl ubuntu's bash behave in the same way)
  3. "$([char]0x1b)]11;?$([char]0x07)"

Nothing is printed

The equivalent steps on wls ubutu's bash would be

  1. wsl
  2. printf '\x1b]11;?\x07'

Nothing is printed

Configuration

no config

Expected Behavior

The corresponding value should be printed by the terminal (in this case, the response containing the color of the terminal's background)

Logs

No response

Anything else?

OSC that do not return a value work as expected. For example, "$([char]0x1b)]11;#00ff00$([char]0x07)" does change the terminal background color to green

image
image

@TheLeoP TheLeoP added the bug Something isn't working label Aug 5, 2024
@TheLeoP
Copy link
Author

TheLeoP commented Aug 12, 2024

This seems to be a current limitation of ConPTY (upstream issue) as per:

microsoft/terminal#3718
and
microsoft/terminal#16990 (comment)

@TheLeoP TheLeoP closed this as not planned Won't fix, can't repro, duplicate, stale Aug 12, 2024
Copy link
Contributor

I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues. If you have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Sep 12, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant