Skip to content

Let users choose the image mode - #9

Merged
armada877 merged 1 commit into
mainfrom
images-foot
Oct 20, 2026
Merged

armada877 merged 1 commit into
mainfrom
images-foot

Conversation

@armada877

Copy link
Copy Markdown
Owner

Let users choose the image mode.

  • Add an images setting with auto, kitty, blocks, placeholder, and off, in ~/.config/syn/config.toml and in the SYN_IMAGES environment variable. SYN_IMAGES wins.
  • auto does not change: syn uses kitty images when the terminal answers the kitty graphics query.
  • Document a limitation: a terminal multiplexer that answers the kitty query itself, such as herdr, can report support even when the outer terminal (for example foot) cannot show kitty images. In that case, set images = "blocks".

Local checks passed: tests with local sockets, race tests, vet, formatting, build, and terminal checks of the modes, including foot with herdr.

🤖 Generated with Claude Code

@armada877
armada877 enabled auto-merge (rebase) October 20, 2026 02:32
@armada877
armada877 merged commit 0f43a9b into main Oct 20, 2026
2 checks passed
@armada877
armada877 deleted the images-foot branch October 20, 2026 02:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant