Skip to content

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

@arraasheed

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

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions