-
Notifications
You must be signed in to change notification settings - Fork 104
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
tmux built with sixel support not working as expected in wsltty #344
Comments
I've built latest tmux on cygwin and it does not work either (no WSL involved). |
Is it tmux in cygwin or tmux in wsl? |
In my situation? Just wsl. Identical environment, but accessed from two different terminal emulators. |
Something else I just discovered is that sixels will not work in nested tmux sessions (inside foot) either -- the same thing happens. |
What does this mean? What is wslg? How do you produce sixel in WSL? |
wslg, or "wsl gui" exposes a display server from the subsystem with which to serve up graphical applications viewable from your normal windows display session. Typically you'd use it to run actual gui apps, like gimp for example, and simply use windows terminal for your terminal needs. But since windows terminal does not support sixels, I used foot, exposed through wslg to confirm that I am, in some capacity, able to render sixels in a tmux session from wsl. |
I could meanwhile reproduce this weird effect. |
tmux is looking for a non-standard terminfo flag called Sxl to determine if the terminal supports sixel (see manpage source here). If it doesn't find that flag in terminfo for
|
There is no such flag in my cygwin environment and it works anyway. |
tmux also has to be built with the |
I don't know if this is an issue with tmux, or wsltty, but I've gathered some curious results on different combinations of terminal emulators, with / without tmux:
foot run with wslg, no tmux:
wsltty, no tmux:
foot run with wslg, tmux:
wsltty, tmux:
It seems that the addition of tmux to wsltty is preventing sixel support.
I have wsltty installed via scoop, with the following configuration:
The text was updated successfully, but these errors were encountered: