[GH-ISSUE #859] Tmux sixel support #515

Closed
opened 2026-03-02 23:48:13 +03:00 by kerem · 4 comments
Owner

Originally created by @Mcrtin on GitHub (Nov 1, 2025).
Original GitHub issue: https://github.com/aome510/spotify-player/issues/859

yazi displays images just fine trough tmux, while spotify-player just displays the pixelated image.
Did i miss a config option to enable displaying images through tmux or does spotify-player just not support it?

Originally created by @Mcrtin on GitHub (Nov 1, 2025). Original GitHub issue: https://github.com/aome510/spotify-player/issues/859 yazi displays images just fine trough tmux, while spotify-player just displays the pixelated image. Did i miss a config option to enable displaying images through tmux or does spotify-player just not support it?
kerem closed this issue 2026-03-02 23:48:13 +03:00
Author
Owner

@krishna4040 commented on GitHub (Nov 12, 2025):

its even not working in tmux, can anyone confirm this?

<!-- gh-comment-id:3521247094 --> @krishna4040 commented on GitHub (Nov 12, 2025): its even not working in tmux, can anyone confirm this?
Author
Owner

@richardhapb commented on GitHub (Nov 12, 2025):

This work in Tmux, it is a tricky solution.

bind -r P new-session -A -s spotify "TERM=xterm-256color spotify_player"

Or simply

TERM=xterm-256color spotify_player

It is because the Viuer crate implementation, it checks that.

github.com/atanunq/viuer@dc81f44a97/src/printer/sixel.rs (L83-L95)

But I noticed the new version 0.9.2 uses another approach to detect Sixel and is properly enabled, but with a wrong size and pixelated, only with the xterm-256color variable works fine.

<!-- gh-comment-id:3523872730 --> @richardhapb commented on GitHub (Nov 12, 2025): This work in Tmux, it is a tricky solution. ```text bind -r P new-session -A -s spotify "TERM=xterm-256color spotify_player" ``` Or simply ```bash TERM=xterm-256color spotify_player ``` It is because the Viuer crate implementation, it checks that. https://github.com/atanunq/viuer/blob/dc81f44a97727e04be0b000712e9233c92116ff8/src/printer/sixel.rs#L83-L95 But I noticed the new version 0.9.2 uses another approach to detect Sixel and is properly enabled, but with a wrong size and pixelated, only with the `xterm-256color` variable works fine.
Author
Owner

@krishna4040 commented on GitHub (Nov 13, 2025):

Yes it worked, but with the TERM as xterm-kitty its not working, due to the reason you mentioned, does this need a fix?

<!-- gh-comment-id:3526825947 --> @krishna4040 commented on GitHub (Nov 13, 2025): Yes it worked, but with the TERM as `xterm-kitty` its not working, due to the reason you mentioned, does this need a fix?
Author
Owner

@Mcrtin commented on GitHub (Nov 13, 2025):

thx

<!-- gh-comment-id:3527440707 --> @Mcrtin commented on GitHub (Nov 13, 2025): thx
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/spotify-player#515
No description provided.