Skip to content

Copy Image on Ubuntu WSL does not work #752

Description

@initrunlevel0

Summary

Copy paste image simply does not work for no reason on WSL running Ubuntu on top of Windows 11. I tried Ctrl+Shift+V, Ctrl+V, right click inside Windows Terminal.

Rekaman.2026-08-27.102451.mp4

For comparison, the same instance with OpenCode I able paste an image.

Rekaman.2026-08-27.102545.mp4

Expected Behavior

Image paste should works

Actual Behavior

Image paste does not work, no text or indicator of [Image 1] shown. This is not an issue if I run cmdc directly on Windows's Powershell

Steps to reproduce the issue

  1. Open cmdc inside Ubuntu WSL
  2. Use Windows snipping tool to screenshot
  3. Ctrl+Shift+V, Ctrl+V, right click on CMDC

Nodejs version: v24.19.0
Distro: Ubuntu 24.04.3 LTS

Also WSLg and X server works, tested running xeyes

Command Code Version

1.36.0

Operating System

Windows

Terminal/IDE

Windows Terminal

Shell

zsh

Session file (optional)

No response

Fix prompt (optional)

No response

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions