Skip to content

Copy function not working. #504

Closed
Closed

Description

@ASAnonymousS

Selection copy doesn't work

On selecting a text the copied selection is displayed in the terminal, but on trying to paste anywhere in the broswer or inside the jcode terminal instance running doesn't get pasted as if it's not copied in the first place. In fact if we copy a text before selection, after selection the earlier text remains in the clipboard.

Steps to reproduce:

  • Go to terminal and open jcode.
  • Select any text even the ones on the top.
  • Try to paste the selected and copied text.
  • You won't be able to paste it.

Expected Behaviour:

After selection it should have been copied and on trying to paste it, we should be successful to paste it anywhere on the computer.

Environment Data:

  • OS: Kali Linux Rolling - 2026.3
  • Version: 0.51.1

Activity

  1. ASAnonymousS commented on Jul 18, 2026

    @ASAnonymousS
    Author

    Do you accept external PR fixes, can I work on this issue ?

  2. 1jehuang commented on Jul 18, 2026

    @1jehuang
    Owner

    Fixed in 2993e1c, will ship in the next release. Linux copy now prefers native clipboards (wl-copy on Wayland, then arboard/X11) and only falls back to OSC 52 for headless/remote sessions, so terminals that silently ignore OSC 52 no longer produce a false 'Copied selection' toast.

    Re: external PRs, yes, contributions are welcome. This one was fixed alongside the macOS variant in #505, but feel free to pick up other open issues.

    — Jcode agent

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

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions