You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Cover art is blank in iTerm2 because the picker selects Kitty #978
A user on macOS with iTerm2 sees an empty area where the cover art must be, in the playbar and in the full-screen cover view (G). imgcat shows images in the same terminal, so iTerm2 can draw images.
Their log shows the cause:
spotatui 0.47.0 startup | os=macos arch=aarch64 | features: ..., cover-art, art-decode, ... | terminal: TERM=xterm-256color TERM_PROGRAM=iTerm.app
cover art renderer detected a Kitty backend
got new cover art: https://i.scdn.co/image/...
The art downloads, but the renderer uses the Kitty protocol. In ratatui-image 11.1.0, Picker::from_query_stdio gives priority to the answer from the stdio query over the env hint (capability_proto.or(tmux_proto).or(iterm2_proto)). This iTerm2 answers the Kitty graphics query, so TERM_PROGRAM=iTerm.app has no effect. The Kitty protocol in ratatui-image draws only through Unicode placeholders (U=1, U+10EEEE), and iTerm2 does not implement them. Thus nothing shows.
ratatui-image already blocks Kitty for WezTerm and Konsole for the same reason, but not for iTerm2. Its compatibility table lists iTerm2 with the iTerm2 protocol.
Expected: iTerm2 uses the iTerm2 protocol and shows the cover art.
Possible fix: in init_renderer (src/tui/cover_art.rs), if TERM_PROGRAM or LC_TERMINAL names iTerm and the probe gives Kitty, use ProtocolType::Iterm2. I will also report the missing iTerm2 case to ratatui-image.
Steps to reproduce
Start spotatui with cover art in iTerm2 on macOS.
Play a track.
The cover slot is empty. The log says cover art renderer detected a Kitty backend.
Frontend
Terminal app
Source
Spotify
spotatui version
0.47.0
OS
macOS 27.0.1 (Apple M1 Pro)
How you installed spotatui
Homebrew, the one-line installer, and a source build. The result is the same for all three.
In iTerm2 on macOS, the cover art area stays empty in both the playbar and the full-screen cover view (G). The art downloads, but the renderer chooses the Kitty protocol because iTerm2 answers the Kitty graphics query. ratatui-image's Kitty output draws only through Unicode placeholders, which iTerm2 does not support. The reporter expects iTerm2 to use the iTerm2 protocol, and suggests overriding the probe result in init_renderer when TERM_PROGRAM or LC_TERMINAL names iTerm.
Key points
spotatui 0.47.0 on macOS 27.0.1 (Apple M1 Pro) in iTerm2. The result is the same for the Homebrew, one-line installer and source builds.
The log shows TERM=xterm-256color TERM_PROGRAM=iTerm.app and cover art renderer detected a Kitty backend, followed by got new cover art.
imgcat shows images in the same terminal, so iTerm2 itself can draw images.
The reporter says ratatui-image 11.1.0 Picker::from_query_stdio prefers the stdio probe answer over the iTerm2 env hint, and that it blocks Kitty for WezTerm and Konsole but not for iTerm2.
Expected: iTerm2 uses ProtocolType::Iterm2 and shows the cover art.
Where to look
src/tui/cover_art.rs: init_renderer calls Picker::from_query_stdio() and logs the detected protocol without overriding it. The reporter proposes the fix here.
What would help
iTerm2 version
Whether iTerm2's Kitty graphics support or any related iTerm2 settings are turned on
Possible duplicates: none found
Compared against 30 open and 100 recently closed issues.
Activity
spotatui commentedon Nov 5, 2026
🎧 spotatui triage
Auto-triaged with
claude-opus-5-5.Label:
bugLikely area: TUI cover art renderer (terminal image protocol detection)
Summary
In iTerm2 on macOS, the cover art area stays empty in both the playbar and the full-screen cover view (
G). The art downloads, but the renderer chooses the Kitty protocol because iTerm2 answers the Kitty graphics query. ratatui-image's Kitty output draws only through Unicode placeholders, which iTerm2 does not support. The reporter expects iTerm2 to use the iTerm2 protocol, and suggests overriding the probe result ininit_rendererwhenTERM_PROGRAMorLC_TERMINALnames iTerm.Key points
TERM=xterm-256color TERM_PROGRAM=iTerm.appandcover art renderer detected a Kitty backend, followed bygot new cover art.imgcatshows images in the same terminal, so iTerm2 itself can draw images.Picker::from_query_stdioprefers the stdio probe answer over the iTerm2 env hint, and that it blocks Kitty for WezTerm and Konsole but not for iTerm2.ProtocolType::Iterm2and shows the cover art.Where to look
src/tui/cover_art.rs:init_renderercallsPicker::from_query_stdio()and logs the detected protocol without overriding it. The reporter proposes the fix here.What would help
Possible duplicates: none found
Compared against 30 open and 100 recently closed issues.
fix(tui): show cover art in iTerm2 (LargeModGames#979)