Skip to content

Conversation

@Drilmo
Copy link
Contributor

@Drilmo Drilmo commented Jan 16, 2026

Summary

Fixes Cmd+V image paste regression in VSCode terminal that was introduced in #4916.

The Problem

When pasting images with Cmd+V in VSCode terminal:

The Fix

Test Plan

  • Copy an image to clipboard (e.g., screenshot or image file from Finder)
  • In VSCode terminal running Kilo CLI, press Cmd+V
  • Image should be pasted as a reference
  • Regular text paste (Ctrl+V / Cmd+V with text) still works
  • Multiline paste still works correctly

VSCode terminal sends empty bracketed paste sequences for Cmd+V,
unlike regular terminals that send key events directly. This was
broken in Kilo-Org#4916 when the condition changed to skip empty pastes.

Now we check the clipboard for images when receiving an empty
bracketed paste, restoring the behavior from Kilo-Org#4832.
@changeset-bot
Copy link

changeset-bot bot commented Jan 16, 2026

🦋 Changeset detected

Latest commit: 493aaf4

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
@kilocode/cli Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@marius-kilocode marius-kilocode merged commit 42cdb11 into Kilo-Org:main Jan 16, 2026
12 checks passed
@marius-kilocode
Copy link
Collaborator

Thanks @Drilmo!

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.

2 participants