Skip to content

fix: macOS cmd+v image paste in TUI #22194

Closed as not planned
Closed as not planned

Description

@hernandezsanti

Summary

On macOS, pasting images into the TUI prompt with cmd+v does not work reliably.

Repro

  • Platform: macOS
  • Terminals tested:
    • Ghostty
    • iTerm2
    • Terminal.app

Steps:

  1. Copy an image to the clipboard
  2. Focus the OpenCode TUI prompt
  3. Press cmd+v

Expected

The image should attach to the prompt.

Actual

cmd+v does not consistently attach the image. In my testing, behavior differs by terminal.

Notes

I have a local prototype that improves cmd+v image paste handling on macOS.

Activity

  1. added
    opentuiThis relates to changes in v1.0, now that opencode uses opentui
    on Apr 12, 2026
  2. github-actions commented on Apr 12, 2026

    @github-actions
    Contributor

    This issue might be a duplicate of existing issues. Please check:

    Please review these issues before continuing, and consider whether your report adds new information not already covered.


    For keybind-related issues, please also check our pinned keybinds documentation: #4997

  3. removed
    opentuiThis relates to changes in v1.0, now that opencode uses opentui
    on May 3, 2026
  4. github-actions commented on Jul 3, 2026

    @github-actions
    Contributor

    To stay organized issues are automatically closed after 60 days of no activity. If the issue is still relevant please open a new one.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions