-
Notifications
You must be signed in to change notification settings - Fork 2k
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
Equal signs showing in the IntelliJ terminal on beta version #11042
Comments
Duplicate of #10829 |
well it's not fixed (WSL seems like a case like SSH where environment variables are not forwarded). we do have a fix if you're willing to reconsider. (To be clear the statement "it has shown issues in MS conhost" in 8a5b1cc (Revert "Probe for kitty keyboard protocol support", 2025-01-07) is incorrect.) I don't think users should suffer because of this so, in light of this newly reported scenario I think we should re-add the kitty protocol check to the integration branch. (Or at least I don't want to be one blamed for pushing too hard for progress). Alternatively, if we could find a way to identify IDEA terminals, we could work around it that way, but they don't support XTVERSION unfortunately |
Any workaround available? I see that the ticket in JetBrains tracker is open for 2 months, without any movement. |
As a workaround you can |
The current complexity of the querying makes me extremely wary of adding it to 4.0 at this point.
The issue is that WSL doesn't pass the environment variable along, so setting it outside of WSL doesn't work. You'd have to set it inside of WSL, but I think we only check for it on startup, so setting it in config.fish won't work. $TERMINAL_EMULATOR will be unset. We could of course add a configuration variable that you can set inside of config.fish. |
I've managed to set the environment variable in |
Interesting. Wwhat's the worst thing that could happen? The things I can imagine OTTOMH are
|
Well, the obvious one is that the terminal misinterprets it, at which point we're no better off. Or it can misinterpret any of the other queries that are now involved, including synchronized output and the alternate screen. Or we get weird interaction with those when e.g. the terminal is resized at the wrong moment. Or whatever - there are a lot of moving parts here and we haven't really tested any of it more than just casually using it ourselves. Remember #10663? We would have to at least redo that. We now know the terminals that screw up when we just try to enable it, and there aren't many.
In this specific case, I think we can ask the large company maintaining a not terribly important terminal (that already has issues in their fish integration) to fix their stuff. I would add a variable or possibly feature flag that users can use to work around this in general. |
Or it can misinterpret any of the *other* queries that are now
involved, including synchronized output and the alternate screen. Or
we get weird interaction with those when e.g. the terminal is
resized at the wrong moment.
No, those are not involved. The fix is is only `\x1b[?u`, nothing more.
Or *whatever* - there are a lot of moving parts here and we haven't
really tested any of it more than just casually using it ourselves.
The criteria for testing are somewhat opaque.
This is a discussion that might come up every time we query for a new capability.
Remember #10663? We would have to at least redo that.
That would be no problem.
In this specific case, I think we can ask the large company maintaining a not terribly important terminal (that already has issues in their fish integration) to fix their stuff.
a lot of issues seem easy to fix but creating a sense of urgency seems wrong unless we have a good reason
|
I've upgraded my fish to 4.0 beta, and noticed something weird in my PyCharm terminal. Every command starts and ends with equal sign (
=
). Here's how it looks:Switching back to 3.7.1 solved the problem. I'm on Windows and run the terminal on WSL2.
The text was updated successfully, but these errors were encountered: