-
Notifications
You must be signed in to change notification settings - Fork 780
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
textual 0.10.0 renders a lonely "p" on the screen before entering the app #1622
Comments
We found the following entries in the FAQ which you may find helpful:
Feel free to close this issue if you found an answer in the FAQ. Otherwise, please give us a little time to review. This is an automated reply, generated by FAQtory |
Thanks. At first glance the diagnose crash looks like some of the type annotations and Python 3.8 not getting along. Should be a simple fix. |
I mean, I guess flat out crashing on older versions of Python is *a* way of reporting the Python version. Kinda? See the side issue reported in Textualize#1622.
As for the "lonely p": that looks very similar to #1390 -- curiously I thought there was a bit more conversation about this somewhere but I can't find it in discussions, issues or even on the Discord server. Could you give some more details about your environment? OS, terminal, that sort of thing? |
new version released (thanks @davep @willmcgugan for being responsive... and I need to be better at github social media as I found out about the new version through twitter lol) Textual DiagnosticsVersions
Python
Operating System
Terminal
Rich Console options
|
Generally the default macOS terminal isn't a great experience. See the "Your Platform" box at https://textual.textualize.io/getting_started/ |
Can confirm it seems fine in iTerm 2. |
Checking here with Terminal vs iTerm, I'm seeing it too. Seems likely to me that this is a variation on #1390. |
The "p" is part of an escape sequence which asks the terminal if the synchronisation protocol is supported. The terminal should ignore the entire sequence so you should see nothing on the terminal. Clearly macOS terminal isn't aware of this. Only fix that comes to mind is to add an exception for the mac terminal. |
Don't forget to star the repository! Follow @textualizeio for Textual updates. |
textual diagnose
crashes for me withI'm uploading a video (set playback speed to 0.5 or 0.75 to definitely see it)
Kapture.2023-01-19.at.16.36.11.mp4
showing what happens when I run
textual colors
. There's a brief moment when there's a lonelyp
on the 2nd line of the terminal screen before going into the app. Any ideas what this is? I thought it was a problem with my app, but it turns out that this doesn't show up on 0.1.17 to 0.2.0 (I suspect it made it's way in after that?).The text was updated successfully, but these errors were encountered: