sixel inside tmux and ssh workaround #22169

Open
opened 2026-01-31 08:05:24 +00:00 by claunia · 0 comments
Owner

Originally created by @galchinsky on GitHub (Aug 28, 2024).

Windows Terminal version

1.22.240823002-preview

Windows build number

10.0.22631.4037

Other Software

tmux next 3.5 (latest so far 34807388b064 commit built with --enable-sixel)

Steps to reproduce

In WSL2 tab img2sixel logo.png just works, hurray. It also works if I ssh to a remote server from the WSL2 tab.

Then I start tmux and run the same command. It outputs in a fallback mode

$ img2sixel logo.png
SIXEL IMAGE (12x6)
++++++++++++
++++++++++++
++++++++++++
++++++++++++
++++++++++++

Then I (similarly to a suggestion at https://github.com/wez/wezterm/issues/1236)

  • go to a Windows "Command Prompt" tab
  • ssh to WSL2 from there
  • create tmux session and type "img2sixel logo192.png" .

sixel output starts to work, even on a remote server + tmux combination. This is weird, because if it wasn't so, I would think it's a tmux bug. But now it seems something is off with how WSL2 tab works.

Expected Behavior

sixel output inside tmux

Actual Behavior

tmux outputs

SIXEL IMAGE (12x6)
++++++++++++
++++++++++++
++++++++++++
++++++++++++
++++++++++++

but works correctly if ssh to WSL2 from Windows

Originally created by @galchinsky on GitHub (Aug 28, 2024). ### Windows Terminal version 1.22.240823002-preview ### Windows build number 10.0.22631.4037 ### Other Software tmux next 3.5 (latest so far 34807388b064 commit built with --enable-sixel) ### Steps to reproduce In WSL2 tab `img2sixel logo.png` just works, hurray. It also works if I ssh to a remote server from the WSL2 tab. Then I start tmux and run the same command. It outputs in a fallback mode ``` $ img2sixel logo.png SIXEL IMAGE (12x6) ++++++++++++ ++++++++++++ ++++++++++++ ++++++++++++ ++++++++++++ ``` Then I (similarly to a suggestion at https://github.com/wez/wezterm/issues/1236) * go to a Windows "Command Prompt" tab * ssh to WSL2 from there * create tmux session and type "img2sixel logo192.png" . sixel output starts to work, even on a remote server + tmux combination. This is weird, because if it wasn't so, I would think it's a tmux bug. But now it seems something is off with how WSL2 tab works. ### Expected Behavior sixel output inside tmux ### Actual Behavior tmux outputs SIXEL IMAGE (12x6) ++++++++++++ ++++++++++++ ++++++++++++ ++++++++++++ ++++++++++++ but works correctly if ssh to WSL2 from Windows
claunia added the Issue-BugArea-VTNeeds-Tag-FixProduct-Conpty labels 2026-01-31 08:05:25 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#22169