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

Mouse mode enabled prevents copying selection to clipboard on remote system #2207

Closed
groovy9 opened this issue Apr 21, 2022 · 3 comments
Closed
Labels
C-bug Category: This is a bug

Comments

@groovy9
Copy link

groovy9 commented Apr 21, 2022

Summary

I'm using Windows terminal, ssh to remote linux server, running Helix there. Mouse mode works fine, doesn't select the line numbers, and middle-button pasting works into Helix, all of which is great. But it prevents me from copying any text to the clipboard. With mouse mode off, I can select text, control-c to copy to windows clipboard and then paste into anything.

With mouse mode on, I have no apparent way to copy text from Helix to anything else.

Same thing happens with the Alacritty terminal, which uses control-shift-c to copy. Works with mouse mode off, doesn't with it on.

Reproduction Steps

  • add ':set mouse true' to [editor] section of config.toml
  • start Helix
  • Open a text file
  • select text with mouse
  • control-c
  • control-v into other tool

Helix log

No response

Platform

Linux

Terminal Emulator

Windows terminal

Helix Version

22.05-dev (5247d3a)

@groovy9 groovy9 added the C-bug Category: This is a bug label Apr 21, 2022
@kirawi
Copy link
Member

kirawi commented Apr 21, 2022

I think this might be a duplicate of #1901

@kirawi
Copy link
Member

kirawi commented Nov 10, 2022

Closing in favor of #2615

@kirawi kirawi closed this as not planned Won't fix, can't repro, duplicate, stale Nov 10, 2022
@AviKav
Copy link

AviKav commented Dec 8, 2022

@groovy9 You can use Shift to do the selection in Windows Terminal itself and prevent mouse events being intercepted/sent to the underlying application. You can also do Shift + Alt to do rectangular selections to avoid copying the line numbers.

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
Projects
None yet
Development

No branches or pull requests

3 participants