-
Notifications
You must be signed in to change notification settings - Fork 844
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
Terminal multiplexer zellij injects random input to input
widget on auto-focus
#5500
Comments
I suspect this is a bug with Zellij. Could you run your test app with |
Sure!
|
Ok, it looks like Zellij is generating an invalid sequence. I can see from the first line that it is missing a question mark. It should be sending Suggest you report it upstream, looks like an easy fix. The spec is here: https://gist.github.com/christianparpart/d8a62cc1ab659194337d73e399004036#feature-detection |
Dang, you are fast. Thanks! ❤️ |
Don't forget to star the repository! Follow @textualizeio for Textual updates. |
I PR'd a fix for this to Zellij recently (zellij-org/zellij#3884), so should hopefully be released soon 😄 |
Yeah, I saw that. You guys are crazy fast 🚀 PS: Sorry that I didn't find you PR. I did search for |
Have you checked closed issues? https://github.com/Textualize/textual/issues?q=is%3Aissue+is%3Aclosed
Have you checked against the most recent version of Textual? https://pypi.org/search/?q=textual
Please give a brief but clear explanation of the issue. If you can, include a complete working example that demonstrates the bug. Check it can run without modifications.
Hey 👋
First, I am cross-posting the bug here for completeness and to learn if there are possible workarounds from the textual site.
If one runs the following
input.py
example with zellij:The input widget receives the input:
[2026;2$y
, which I assume is an ansi escape code sequence.However, adding a delay seems to help sometimes and the result is always fixed if a non-input widget is focused during startup.
The issue was first reported here: isd-project/isd#34
and I have also reported issue to zellij here: zellij-org/zellij#3959
It will be helpful if you run the following command and paste the results:
Textual Diagnostics
Versions
Python
Operating System
Terminal
Rich Console options
If you don't have the
textual
command on your path, you may have forgotten to install thetextual-dev
package.Feel free to add screenshots and / or videos. These can be very helpful!
The text was updated successfully, but these errors were encountered: