-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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
[BUG] Rich not playing nice when called from Reticulate #3416
Comments
I have found the root cause: Rstudio Console does not support cursor motion ANSI control sequences. I have opened a feature request upstream in rstudio/rstudio#14942 , as well as a bug report for an associated issue rstudio/rstudio#14941 . Is there a way to make Rich progressbars working even without cursor motion control sequences, even if in a much simpler capacity? |
I don't think there is much that can be don't if Reticulate doesn't support escape sequences. They clearly support the escape sequences for color, so fingers crossed they will support more... |
I hope we solved your problem. If you like using Rich, you might also enjoy Textual |
They support a subset, e.g. backspace. What they don't support is other movement :/ |
Hi!
When called from the "Call-python-from-R" package Reticulate, Rich progress bars display incorrectly:
I've opened a bug report at Reticulate, with full description and minimum code example: rstudio/reticulate#1632
I realise this is likely some Reticulate wizardry (they remap stdout to R's console) that might be an issue, hence the bug report there, but I figured the kind developers will know much, much more about what to expect from a console, and how to get compatibility :)
Thanks a lot for any help!
The text was updated successfully, but these errors were encountered: