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]: On Linux/Wayland allow pasting with middle click · Issue #3684 · anomalyco/opencode

[FEATURE]: On Linux/Wayland allow pasting with middle click #3684

New issue
Copy link
New issue
Copy link
Closed
Closed
[FEATURE]: On Linux/Wayland allow pasting with middle click#3684
Copy link
Labels
discussionUsed for feature requests, proposals, ideas, etc. Open discussionopentuiThis relates to changes in v1.0, now that opencode uses opentui

Description

@spahl
spahl
opened on Nov 1, 2025
Issue body actions

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

It is possible I missed a config but on ghostty in Wayland I can't paste with middle click like in other TUI apps like lazygit.

This would be a nice to have for those of us with that muscle memory.

Reacted by Mark Tompkins, Jordan McAlpine, Pavel Snajdr, Darko Luketic, Sebastian Rojo, pikdum, Mauro, Steve Schmerler, d0b3rm4n, Carlo Wood and 2 more

Activity

  1. spahl
    added
    discussionUsed for feature requests, proposals, ideas, etc. Open discussion
    on Nov 1, 2025
  2. Sewer56 commented on Nov 1, 2025

    @Sewer56
    Sewer56
    on Nov 1, 2025
    Contributor
    More actions

    Extra note: Works in VSCode's terminal, not in Alacritty.
    Guessing it's VSC injecting it manually.

  3. spahl commented on Nov 1, 2025

    @spahl
    spahl
    on Nov 1, 2025
    Author
    More actions

    @thdxr Is that something you'd be open to have added as is or does it need more details/discussion? I'd be happy to implement. I'd imagine that would require some opentui changes too.

  4. itmo commented on Nov 8, 2025

    @itmo
    itmo
    on Nov 8, 2025
    More actions

    i am having same issue in fedora 42 X11. Especially annoying when quickly copypasting error messages from tests to prompt..

  5. rekram1-node
    added
    opentuiThis relates to changes in v1.0, now that opencode uses opentui
    on Nov 8, 2025
  6. m0x2A commented on Jan 10, 2026

    @m0x2A
    m0x2A
    on Jan 10, 2026
    More actions

    I'm experiencing the same issue on CachyOS with KDE Plasma Wayland.

    Environment:

    • OS: CachyOS (Arch-based)
    • Desktop: KDE Plasma Wayland
    • Terminal: Ghostty 1.2.3-arch2.1
    • Mouse paste methods that don't work:
      • Middle-Click (Primary Selection)
      • Right-Click context menu (Clipboard)
    • Paste methods that work: Shift+Insert (Clipboard)

    Details:
    Pasting text into OpenCode prompts doesn't work with either mouse-based clipboard mechanism available in Ghostty. Middle-Click (Primary Selection) and the Right-Click context menu (Clipboard) both fail. However, Shift+Insert works reliably. Interestingly, pasting works perfectly fine in regular Ghostty outside of OpenCode using both methods.

    Additional info:

    • Copy from OpenCode works fine
    • wl-clipboard is installed and functional
    • Related: Copy and Paste behaviour under Linux #4754 (clipboard mechanisms discussion) and X Window (xorg) middle-click paste doesn't work #6072 (X11 variant of this issue)
    Reacted by Mauro
  7. acidkewpie commented on Jan 26, 2026

    @acidkewpie
    acidkewpie
    on Jan 26, 2026
    More actions

    Shift + middle click works when I do it in a foot terminal.

    Reacted by Kyle Baker
  8. github-actions commented on Mar 29, 2026

    @github-actions
    github-actionsBot
    on Mar 29, 2026 – with GitHub Actions
    Contributor
    More actions

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

  9. github-actions
    closed this as completedon Mar 29, 2026
  10. dolzenko commented on May 26, 2026

    @dolzenko
    dolzenko
    on May 26, 2026
    More actions

    Shift + middle click works when I do it in a foot terminal.

    Thank you, works for me in alacritty as well!

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    discussionUsed for feature requests, proposals, ideas, etc. Open discussionopentuiThis relates to changes in v1.0, now that opencode uses opentui

    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.