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

feat: adapt for image preview in the Rio terminal #1690

Merged
merged 2 commits into from
Sep 26, 2024

Conversation

raphamorim
Copy link
Contributor

If possible would like to add Rio to the terminal list 🙏

Thank you for yazi :D

Screenshot 2024-09-26 at 17 18 01

Copy link
Owner

@sxyazi sxyazi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Awesome!

Thanks for your work on Rio, really excited to know it supports image rendering now, keep up the excellent work!

@sxyazi sxyazi changed the title Add Rio to README.md feat: adapt for image preview in the Rio terminal Sep 26, 2024
@sxyazi
Copy link
Owner

sxyazi commented Sep 26, 2024

Hey @raphamorim, I pushed a new commit 853f507.

Could you review it and check if the way of detecting Rio is correct? Also, are there any other conditions we could add to detect Rio too, like special env variables starting with RIO_ or the \x1b[>q sequence? Let me know if there's anything I missed!

@raphamorim
Copy link
Contributor Author

Could you review it and check if the way of detecting Rio is correct? Also, are there any other conditions we could add to detect Rio too, like special env variables starting with RIO_ or the \x1b[>q sequence? Let me know if there's anything I missed!

looks correct 👍 rio also injects TERM_PROGRAM as equal rio in the env by default

@sxyazi
Copy link
Owner

sxyazi commented Sep 26, 2024

Nice, merging now

@sxyazi sxyazi merged commit 9f8109e into sxyazi:main Sep 26, 2024
6 checks passed
@raphamorim raphamorim deleted the patch-1 branch September 26, 2024 16:48
@raphamorim
Copy link
Contributor Author

Thank you @sxyazi 🙏

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants