Skip to content

[FEATURE] Add copy/paste support for text and images in terminal #17548

@zohebk

Description

@zohebk

Summary

Add the ability to copy and paste text and images within the OpenCode terminal interface.

Use case

When working in the terminal, users often need to:

  • Copy code snippets or output to paste elsewhere
  • Copy images that are displayed in the terminal
  • Paste text from clipboard into the terminal

Details

  • Currently, selecting text in the terminal doesn't provide a copy option
  • Images displayed in the terminal cannot be copied
  • Adding right-click context menu with copy option would help
  • Alternatively, keyboard shortcuts (Ctrl+C/Ctrl+V or Cmd+C/Cmd+V) could work

Additional context

This would improve UX significantly for developers who frequently work with CLI tools and need to transfer content between the terminal and other applications.

Metadata

Metadata

Assignees

Labels

opentuiThis relates to changes in v1.0, now that opencode uses opentui

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