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

Copy&Paste issue in Windows Terminal + WSL2 #788

Closed
AndrewJD79 opened this issue Oct 14, 2020 · 5 comments
Closed

Copy&Paste issue in Windows Terminal + WSL2 #788

AndrewJD79 opened this issue Oct 14, 2020 · 5 comments

Comments

@AndrewJD79
Copy link

I've tried Far2l under Windows Terminal (WT) + WSL2 and everything works great except issue with clipboard. Clipboard is working only in one direction WT to Far2l but not vise versa. Actually, copying inside far stops working at all. It pasts data from WT clipboard.
I'm not sure that problem in the Far2l and not in WT itself but bash seems works just fine.

Thank you

@unxed
Copy link
Contributor

unxed commented Oct 15, 2020

Hi! Bash may be using OSC 52 clipboard access method, which is supported by Windows Terminal, but currently unsupported by far2l.

Far2l uses it's own so called "terminal extensions" for clipboard access. To use them from Windows you may try this putty fork.

@unxed
Copy link
Contributor

unxed commented Nov 22, 2022

Try enabling Options - Interface settings - Use OSC52 to set clipboard data on latest master.
You will also need Windows Terminal Preview v1.2.2022.0 or later:
microsoft/terminal#5823 (comment)

@unxed
Copy link
Contributor

unxed commented Nov 23, 2022

@elfmz can we close it now?

@AndrewJD79
Copy link
Author

I think it can be closed

@elfmz elfmz closed this as completed Feb 21, 2023
@unxed
Copy link
Contributor

unxed commented Sep 26, 2024

OSC52 support is available starting from Windows Terminal Preview v1.2.2022.0:
microsoft/terminal#5823 (comment)

Corresponding stable release is v1.2.2381.0:
https://github.com/microsoft/terminal/releases/tag/v1.2.2381.0

Latest Windows Terminal stable release is currently 1.20.11781.0:
https://apps.microsoft.com/detail/9n0dx20hk701

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants