Skip to content

[FEATURE]: Add attach button in terminal TUI for images/screenshots #20169

Closed as not planned

Description

@arraasheed

Feature hasn't been suggested before.

  • I have verified this feature I'm about to request hasn't been suggested before.

Describe the enhancement you want to request

Currently, OpenCode terminal (CLI) doesn't have an attach button to add images/screenshots to the chat. Users can only:

  • Drag and drop images (which doesn't work in many terminals like CMD, Windows Terminal)
  • Use the web/desktop app which has an attach button

Feature request:
Add an attach button (📎) in the terminal TUI input area that allows users to:

  1. Click to open file picker
  2. Select images/screenshots to attach to the conversation
  3. Support multiple file selection

Why this is needed:

  • Drag and drop doesn't work in many terminal emulators (CMD, PowerShell, some Windows Terminal configurations)
  • Users on Windows are forced to use web/desktop app for image attachments
  • Having an attach button would make the feature accessible to all terminal users

Screenshots/Videos:
(Screenshots showing the attach button in web/desktop app vs missing in terminal)

Environment:

  • OpenCode version: latest
  • Terminal: CMD/PowerShell/Windows Terminal
  • OS: Windows

Activity

  1. added
    discussionUsed for feature requests, proposals, ideas, etc. Open discussion
    on Mar 31, 2026
  2. github-actions commented on Mar 31, 2026

    @github-actions
    Contributor

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

    These issues overlap with the same core limitation (attaching images in the TUI), though your specific request for an attach button/file picker UI is a distinct approach worth discussing in those threads.

  3. avarayr commented on Mar 31, 2026

    @avarayr

    copy images to clipboard and paste images using Ctrl+V in TUI

  4. arraasheed commented on Mar 31, 2026

    @arraasheed
    Author

    copy images to clipboard and paste images using Ctrl+V in TUI

    Is this really work? I have no idea. let me check.
    Can you tell me if opencode.ai has any other apps interface with chat box like copilot or continue.dev?

  5. removed
    discussionUsed for feature requests, proposals, ideas, etc. Open discussion
    on May 3, 2026
  6. github-actions commented on Jul 4, 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