Skip to content

Cannot copy multiple files to clipboard 0 on macOS #234

@happyTonakai

Description

@happyTonakai

Describe the bug
I cannot copy multiple files with clipboard 0 (barely with command cb copy and cb paste). It only works for other clipboard such as cb copy1 and cb copy_420.

To Reproduce

cb copy theme.toml yazi.toml
 ✔  Copied 2 files

cb show
┏━━ Here are the items in clipboard  0 ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓
┃ yazi.toml                                                                                                                                              ┃
┗━▌Files, Directories▐━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┛

cb copy_420 theme.toml yazi.toml
 ✔  Copied 2 files

cb show_420
┏━━ Here are the items in clipboard  _420 ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓
┃ yazi.toml                                                                                                                                              ┃
┃ theme.toml                                                                                                                                             ┃
┗━▌Files, Directories▐━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┛ 

Expected behavior
All clipboards work as expected. Because the system uses clipboard 0. I cannot paste the files to other applications.

Screenshots
Not applicable.

Version
I'm using CB 0.10.0 from the Homebrew repos with macOS.
I also tried CB 0.10.0 from Homebrew with Ubuntu and it works fine. Only has issue with macOS.

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