-
Notifications
You must be signed in to change notification settings - Fork 383
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
Support sixels in conhost / openconsole #1615
Comments
This is a bit tricky. For the older ConPTY (used by WezTerm and Mintty), we need to filter out Sixel and use IIP because ConPTY interferes with and breaks Sixel. But for the new ConPTY, we'll need to avoid filtering it out, and we need to make sure this doesn't affect the existing WezTerm and Mintty users. Any ideas on how to solve this? |
Actually I do not get what is the problem:
|
Hmm that's weird, it should be recognized as WezTerm instead of Unknown. I'll test it tomorrow, maybe related to #1611 |
Actually it is only
|
@sxyazi it might make sense for Windows to use the parent process name to figure out if it is conhost or windows terminal. That was the only way that I could think of to discover Conhost. (After that is seems to be able to use the da1 logic to detect sixel, it just has to know that it microsoft to get passed this check: yazi/yazi-adapter/src/adapter.rs Line 93 in e940d81
I did a quick POC and it seemed to work. (Let me know if makes sense to create a PR for this). Looking at the debug output I am wondering if I had a bug in #1588 where the Emulator.via_csi is correct but the Adapter.matches is incorrect for the pre-1.22 windows terminal. |
yazi --debug
outputPlease describe the problem you're trying to solve
With latest wt canary (1.23.2481.0) sixels output works ok, but only when launching yazi in WT.
I would like use it via openconsole.exe instead, and it should be possible - see debug output.
Would you be willing to contribute this feature?
Describe the solution you'd like
The difference in debug output between WT and openconsole:
Additional context
Yazi 0.3.3 (7c445ce 2024-09-04)
Validations
The text was updated successfully, but these errors were encountered: