feat(wsl): Sixel Neovim images and Cursor agent clipboard paste#112
Merged
Conversation
e2b0591 to
711f6eb
Compare
5 tasks
711f6eb to
2c54300
Compare
Opt in to experimental.sixelSupport for all profiles so WSL panes can render inline raster graphics (image.nvim).
Dependencies for Sixel encoding and inline image display in Neovim on WSL.
Forward Sixel graphics through tmux for image.nvim and bind prefix+p to inject a clipboard image path into the agent CLI prompt.
Select the sixel backend when WT_SESSION is set, render at cursor inline to avoid popup WinNew flush races, and disable tmux focus toggles that fight Sixel repaint.
Add paste-image-agent.sh, shared clipboard-image helpers, a WSL wl-paste shim for Windows clipboard images, pngpaste in Brewfile, and chezmoiignore for the WSL-only shim.
Include paste-image-agent, wl-paste, and clipboard-image in shfmt/shellcheck.
2c54300 to
28de1eb
Compare
Document that tracked Windows Terminal settings only enable Sixel, keep Ctrl+V for text paste, and route agent clipboard images through tmux.
Document isolated-socket probes and trap-based teardown so agent tmux diagnostics do not orphan sessions on the operator's default server.
Add shellcheck shell directive to the sourced library and forward argv through wl-paste delegation so qa lint-shell passes.
Rename cursor-agent-clipboard to agent-clipboard so @path paste works for Claude Code and other agent CLIs, not only Cursor.
aguil
added a commit
that referenced
this pull request
Jul 11, 2026
fix: address agents code-review findings from PR #112
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
experimental.sixelSupportonly; Ctrl+V text paste unchanged).imagemagick,libsixel-bin) for Sixel encoding.allow-passthrough all,Sxloverrides) and bindprefix+pto inject a clipboard image path into agent CLIs.image.nvimon WSL Windows Terminal to avoid popupWinNewflush races.paste-image-agent.sh, sharedclipboard-image.sh, WSLwl-pasteshim, andpngpasteon macOS.Commits
feat(wt): enable Sixel graphics in Windows Terminal defaultsfeat(wsl): add imagemagick and libsixel apt packagesfeat(tmux): enable Sixel passthrough and agent image paste bindingfeat(nvim): use inline Sixel images on WSL Windows Terminalfeat(agent): add clipboard image paste helpers for Cursor agentchore(qa): lint agent clipboard paste shell scriptsTest plan
experimental.sixelSupportinto live settings; restart Windows Terminalchezmoi applyon WSL hostshows inline at cursor on revisit (WSL + tmux + WT)prefix+pin agent tmux pane injects@/tmp/cursor-agent-clipboard-….pngprefix+pin agent pane afterbrew install pngpaste