Skip to content

Copying issue on linux #4665

Open
Open
@Dagur

Description

@Dagur

Describe the bug
If I copy something in lazygit and paste it back in, I don't get the same string. Possibly only on Linux.

To Reproduce
Steps to reproduce the behavior:

  1. Highlight a branch and copy its name with Ctrl-o
  2. Highlight the main branch and press n to create a new branch
  3. Try to paste the old branch name in the input box with Shift-Insert or middle-mouse click.

Expected behavior
The branch name that I copied should appear.

Actual behavior
I either get no text or something I copied earlier from elsewhere.

Workaround
I paste the branch name into gedit or some other text editor, copy it there and now I can paste into lazygit.

Version info:
Run lazygit --version and paste the result here
commit=aa331e52b8a0e5da03c59ee6b9bd1d2a9073618c, build date=2025-06-07T02:32:24Z, build source=binaryRelease, version=0.52.0, os=linux, arch=amd64, git version=2.48.1

Run git --version and paste the result here
git version 2.48.1

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions