GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Feature request: Paste to attach image · Issue #906 · anomalyco/opencode

Feature request: Paste to attach image #906

New issue
Copy link
New issue
Copy link
Closed as not planned
Closed as not planned
Feature request: Paste to attach image#906
Copy link
Assignees
kommander

Description

@Jawkx
Jawkx
opened on Jul 12, 2025
Issue body actions

Not sure how possible it is, but I really enjoy using excalidraw when working with opencode. I like to copy the stuff as png and then paste it in LLMs to use. But opencode only support attachment via drag and drop, wonder is it possible to implement paste to add image

Image
Reacted by Ben Vinegar, Minh Nguyen, Allen N., Brandon Bayer, Aryeh Katz, Ivan Charapanau, leolulu, Miguel Bastos, Alex Styl, cbingb666 and 12 more

Activity

Next
  1. almirsarajcic commented on Jul 12, 2025

    @almirsarajcic
    almirsarajcic
    on Jul 12, 2025
    Contributor
    More actions

    Correct me if I'm wrong, but you can paste using Control (not Command) + V.
    I use that all the time both in opencode and Claude Code.
    Check the keyboard shortcuts with /help.

    For example, I screenshot part of the screen with Control + Shift + Command + 4, and then paste in using Control + V.
    This is how it appears in the opencode.
    Image

    Reacted by Felipe Orlando, bowber, Minh Nguyen, Andy Aderson, Sourabh Kushwah, Aryeh Katz, CX330, Alexandre Amado de Castro, Youssef Elshahawy, Connor Adams and 25 more
    Reacted by Gabriel, Aryeh Katz, Alexandre Amado de Castro, rfqma, CX330, Nderim, nkosi23 and Dinujaya Sandaruwan
    Reacted by Vuong
  2. thdxr
    assigned
    adamdotdevin
    on Jul 12, 2025
  3. Jawkx commented on Jul 12, 2025

    @Jawkx
    Jawkx
    on Jul 12, 2025
    Author
    More actions

    @almirsarajcic Owh ya it works with CTRL+V.

    But IMO should work for CMD + V for Macos. But feel free to close this issue if it's redundant

    Reacted by Felipe Orlando, Sngmin, Allen N., CX330, Youssef Elshahawy, Ali Kehel, Timon de Groot, Atticus White, pry, jdhao and 10 more
  4. RomanKornev commented on Jul 12, 2025

    @RomanKornev
    RomanKornev
    on Jul 12, 2025
    More actions

    I was also confused until I tried Ctrl+V instead of Cmd+V. It just doesn't feel intuitive enough.

  5. ggaabe commented on Jul 30, 2025

    @ggaabe
    ggaabe
    on Jul 30, 2025
    Contributor
    More actions

    this seems to work with CMD V?

  6. woerndl commented on Aug 31, 2025

    @woerndl
    woerndl
    on Aug 31, 2025
    More actions

    The documentation was a bit confusing (to me at least) in this regard, it states:

    Drag and drop images into the terminal to add them to the prompt.

    For me, copy‑and‑paste attaches the image as a [Image #1] placeholder, whereas dragging and dropping only inserts the path.

    Reacted by Almir Sarajčić, Daniel Carvajal, Dan Brown, Youssef Elshahawy and bastotec
  7. amanhigh commented on Sep 5, 2025

    @amanhigh
    amanhigh
    on Sep 5, 2025
    More actions

    I tried in Arch Linux and here too. Ctrl + V Normal paste doesn't work.

    For me Windows (Meta) Key + V Pasted Image. Text is pasted via Ctrl + V hence this is not intuitive

    Reacted by Juliusz Ćwiąkalski and Michele Barbiero
  8. jawadqur commented on Sep 17, 2025

    @jawadqur
    jawadqur
    on Sep 17, 2025
    More actions

    This would be a sick feature to have in opencode!

  9. rekram1-node commented on Sep 17, 2025

    @rekram1-node
    rekram1-node
    on Sep 17, 2025
    Member
    More actions

    what os and terminal are you @jawadqur pasting images works for me

  10. felipeorlando commented on Sep 18, 2025

    @felipeorlando
    felipeorlando
    on Sep 18, 2025
    Contributor
    More actions

    cmd+v would be better ➕ 1️⃣

    Reacted by Shinonome Tera tanuki, CX330, Youssef Elshahawy, DAVID TB, Dan (Danilo) Rio (Ribeiro), Leonard Choo, noquioz, Seonu Jang and Glib Albovsky
  11. sai-sy commented on Sep 29, 2025

    @sai-sy
    sai-sy
    on Sep 29, 2025
    Contributor
    More actions

    There seems to be some weirdness here with wsl2 and wezterm on recognizing there's something to paste. Not sure where to start on looking for a fix

  12. rekram1-node commented on Sep 29, 2025

    @rekram1-node
    rekram1-node
    on Sep 29, 2025
    Member
    More actions

    @sai-sy what happens does it just paste the path?

  13. sai-sy commented on Sep 29, 2025

    @sai-sy
    sai-sy
    on Sep 29, 2025 via email
    Contributor
    More actions
    does literally nothing
    …
    --- Thanks! He/Him Saihaan "Sai" Syed
    On Mon, Sep 29, 2025 at 1:05 AM Aiden Cline ***@***.***> wrote: *rekram1-node* left a comment (anomalyco/opencode#906) <#906 (comment)> @sai-sy <https://github.com/sai-sy> what happens does it just paste the path? — Reply to this email directly, view it on GitHub <#906 (comment)>, or unsubscribe <https://github.com/notifications/unsubscribe-auth/AR3GQZLGA75QF4R7VI4SIOL3VC4YFAVCNFSM6AAAAACBLKBGMSVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZTGNBUHEYTMNRXGM> . You are receiving this because you were mentioned.Message ID: ***@***.***>
  14. rekram1-node commented on Sep 29, 2025

    @rekram1-node
    rekram1-node
    on Sep 29, 2025
    Member
    More actions

    ooo @itsrainingmani note: windows image pasting doesn’t seem to work

    Reacted by paperplane123, leolulu, adore, Alp Sarıyer, seanmamasde, DanielC2021 and Jaroslaw Jaskulowski
  15. sai-sy commented on Sep 30, 2025

    @sai-sy
    sai-sy
    on Sep 30, 2025
    Contributor
    More actions

    @rekram1-node I'm gonna make a new issue since this thread seems faily mac specific. I'm also curious if this is a wezterm issue, however since wezterm is listed as being one of multiple options which are necessary to get opencode run properly, i think it's relevant

    #2878

    Reacted by rupel190, Jamisson Pinho Lima and seanmamasde
  16. 18 remaining items

  17. ezhupa99 commented on Feb 11, 2026

    @ezhupa99
    ezhupa99
    on Feb 11, 2026
    More actions

    I’m having the same issue when pasting images into the terminal, but I noticed it only happens in Windows Terminal. When I switched to Git Bash, it worked normally.

    @eduardozf and seems like opencode opens way much faster on Git Bash than in Windows Terminal, nice catch

  18. ezhupa99 commented on Mar 5, 2026

    @ezhupa99
    ezhupa99
    on Mar 5, 2026
    More actions

    if you are on windows and using Terminal App below is the solution:
    #1429 (comment)

    Reacted by Ferraz and Serge Baranov
  19. morisono commented on Mar 27, 2026

    @morisono
    morisono
    on Mar 27, 2026
    More actions

    I notice that pasting refused only when CRLF included in image path (on WSL Ubuntu 24.04).

  20. amanhigh commented on Apr 4, 2026

    @amanhigh
    amanhigh
    on Apr 4, 2026
    More actions

    Environment:

    • Kitty: 0.46.2
    • OpenCode CLI: 1.3.13
    • OS: Arch Linux

    Problem:
    Paste (Ctrl+V) does not work in OpenCode CLI when running in Kitty terminal. This works fine in VSCode terminal but fails in Kitty. The issue is that Kitty taposs paste_from_clipboard action does not properly trigger OpenCode internal paste handler.

    Solution that works:

    In ~/.config/kitty/kitty.conf, add:
    map ctrl+v paste_from_clipboard
    map super+v send_text all \x16

    • Ctrl+V = text paste (standard Kitty clipboard)
    • Super+V (Windows key + V) = sends raw Ctrl+V character, which OpenCode interprets as paste

    Why this works:

    • paste_from_clipboard uses Kitty clipboard API, which OpenCode does not handle properly
    • send_text all \x16 sends the actual Ctrl+V (ASCII 0x16) character to the terminal, which OpenCode catches internally as paste command
    • The Super (Windows) key is used to avoid conflict with normal Ctrl+V
    Reacted by mugiwarix and Walter
  21. thdxr
    removed
    bugSomething isn't working
    opentuiThis relates to changes in v1.0, now that opencode uses opentui
    on May 3, 2026
  22. bussard76
    added 2 commits that reference this issue on May 12, 2026

    Add a skills launcher modal (anomalyco#906)

    1c568f9

    Revert "Add a skills launcher modal (anomalyco#906)"

    444d832
  23. markste-in commented on May 27, 2026

    @markste-in
    markste-in
    on May 27, 2026
    More actions

    I am on MacOS with the standard Z shell.
    For me it actually works quite reliable but I would like to turn it off! I handle large satellite data and I only want to paste the path to the image in the chat but it automatically attaches the image. That is super annoying I can't find a way to turn it off. Is there a way to paste path as text ?

  24. rekram1-node
    marked [FEATURE]: Support pasting images from clipboard in TUI and Web UI #31305 as a duplicate of this issue on Jun 8, 2026
  25. richjdsmith commented on Jun 9, 2026

    @richjdsmith
    richjdsmith
    on Jun 9, 2026
    More actions

    There seems to have been a regression of this since the most recent update. v1.16.2

    Prior to 1.16.2, I was able to paste images on Windows Terminal. Now, I am unable to.

  26. dl-alexandre commented on Jun 10, 2026

    @dl-alexandre
    dl-alexandre
    on Jun 10, 2026
    Contributor
    More actions

    Cross-linking a related gap: image paste/drag-drop for the main prompt is tracked here, but the question tool UI (MCQ modal shown when the agent uses question) still has no way to attach screenshots while answering.

    Filed separately as a scoped feature request so it doesn't get lost under general prompt attach work. Happy to consolidate if maintainers prefer a single umbrella issue.

    Related: #31383, #6330

  27. dl-alexandre commented on Jun 10, 2026

    @dl-alexandre
    dl-alexandre
    on Jun 10, 2026
    Contributor
    More actions

    Update: filed #31791 for the question-tool-specific case.

  28. github-actions commented on Aug 10, 2026

    @github-actions
    github-actionsBot
    on Aug 10, 2026 – with GitHub Actions
    Contributor
    More actions

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

  29. github-actions
    closed this as not plannedon Aug 10, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

  • @kommander
    kommander

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

    You are visitor 01402775 — GeezerVison does not store the pages you look up.
    Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.