Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

clipboard-yank does not work via ssh #10027

Open
qiref opened this issue Mar 28, 2024 · 3 comments
Open

clipboard-yank does not work via ssh #10027

qiref opened this issue Mar 28, 2024 · 3 comments
Labels
C-bug Category: This is a bug S-waiting-on-author Status: This is awaiting some action (such as code changes or more information) from the author.

Comments

@qiref
Copy link

qiref commented Mar 28, 2024

Summary

clipboard-yank does not work when I using helix on item2

when I use Alacritty , clipboard-yank is working.

Reproduction Steps

I tried this:

  1. ssh remote linux on item2
  2. hx file and use clipboard-yank
  3. Nothing happend when cmd v

I found this solution, but I used ssh, I hope copy from system clipboard when I closing ssh session.
https://github.com/helix-editor/helix/wiki/Troubleshooting#on-linux

When I switch to alacritty , clipboard-yank is working, I can use cmd v when closing ssh session.

Helix log

~/.cache/helix/helix.log
No error in `~/.cache/helix/helix.log`  

Platform

Linux

Terminal Emulator

item2

Installation Method

releases page

Helix Version

helix 23.10 (f6021dd)

@qiref qiref added the C-bug Category: This is a bug label Mar 28, 2024
@kirawi
Copy link
Member

kirawi commented Mar 28, 2024

What does hx --health say?

@kirawi kirawi added the S-waiting-on-author Status: This is awaiting some action (such as code changes or more information) from the author. label Mar 29, 2024
@qiref
Copy link
Author

qiref commented Mar 29, 2024

What does hx --health say?

$ hx --health
Config file: /root/.config/helix/config.toml
Language file: default
Log file: /root/.cache/helix/helix.log
Runtime directories: /root/.config/helix/runtime;/data/workspace/service/helix-23.10-x86_64-linux/runtime
Clipboard provider: termcode
System clipboard provider: termcode

@alvin883
Copy link

@qiref I got curious so I tried to repro the issue, I used iTerm v3.4.23 to ssh to linux and used the same helix version, it works fine though. It also output System clipboard provider: termcode on the health

Perhaps you haven't enable clipboard terminal access in iTerm? it's under Preferences -> General -> Selection -> "Applications in terminal may access clipboard" and you should check that box

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C-bug Category: This is a bug S-waiting-on-author Status: This is awaiting some action (such as code changes or more information) from the author.
Projects
None yet
Development

No branches or pull requests

3 participants