-
Notifications
You must be signed in to change notification settings - Fork 20
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
guess_protocol() falls back to Halfblocks on Windows Terminal (Preview) #37
Comments
FYI, there is a bug in the latest Windows Terminal preview that affects VT reports in applications that don't enable VT input mode (see microsoft/terminal#17813). It's possible that might be why it's not working outside WSL. VT input mode is set automatically in WSL, but that isn't the case for regular Windows console applications, unless they set the mode themselves, and I don't think the crossterm library does that. |
@matthias-buttgereit the weird behaviour is most likely an incorrect font-size, which should now be guessed correctly on WSL on master. |
@matthias-buttgereit this should work on master now. |
Windows Terminal (Preview) supports Sixel as of 1.22 (https://github.com/microsoft/terminal/releases).
When running code inside WSL it does actually display images using Sixel but outside of WSL it falls back to Halfblocks.
My guess is that the
guess_protocol()
function is not testing for Sixel support under Windows. Not sure if there is a way to do it yet but would be great if it could be added.The text was updated successfully, but these errors were encountered: