can't copy/paste within tmux using mouse #10800

Closed
opened 2026-01-31 02:30:38 +00:00 by claunia · 1 comment
Owner

Originally created by @ismailhkose on GitHub (Sep 27, 2020).

Environment

Platform ServicePack Version      VersionString
-------- ----------- -------      -------------
 Win32NT             10.0.19042.0 Microsoft Windows NT 10.0.19042.0
Windows Terminal Version: 1.3.2651.0
WSL2: Ubuntu 18.04.2 LTS
OpenSSH_7.6p1 Ubuntu-4ubuntu0.3, OpenSSL 1.0.2n  7 Dec 2017
Remote Server Version: Ubuntu 18.04.3 LTS
tmux 2.6

Steps to reproduce

1 - Open Windows Terminal
2 - Open Ubuntu 18.04 WSL terminal
3 - SSH to the remote server
4 - Start or open a tmux session
tmux new -s test
5 - Copy paste using mouse
** Using the Shift key`**

  • Select some text in the terminal using Shift + mouse left
  • Paste it using shift + right

** Without shift key **

  • Select some text in the terminal using mouse left
  • Paste it using right

Expected behavior

I want to switch the Windows terminal from Cygwin based mintty terminal.

In Cygwin terminal, shift + mouse left click selects and copies text from a tmux session. shift + mouse right pastes. The copied text is in the clipboard, and I can even paste it into any text editor in Windows.

However, I couldn't accomplish to copy/paste behavior on the Windows terminal using shift or without shift.

Actual behavior

  • shift + mouse left selects texts, but it doesn't seem copy. shift + mouse right can't paste.
  • mouse left doesn't select and copy text. mouse right doesn't do anything,
Originally created by @ismailhkose on GitHub (Sep 27, 2020). <!-- 🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨 I ACKNOWLEDGE THE FOLLOWING BEFORE PROCEEDING: 1. If I delete this entire template and go my own path, the core team may close my issue without further explanation or engagement. 2. If I list multiple bugs/concerns in this one issue, the core team may close my issue without further explanation or engagement. 3. If I write an issue that has many duplicates, the core team may close my issue without further explanation or engagement (and without necessarily spending time to find the exact duplicate ID number). 4. If I leave the title incomplete when filing the issue, the core team may close my issue without further explanation or engagement. 5. If I file something completely blank in the body, the core team may close my issue without further explanation or engagement. All good? Then proceed! --> <!-- This bug tracker is monitored by the Windows Terminal development team and other technical folks. **Important: When reporting BSODs or security issues, DO NOT attach memory dumps, logs, or traces to Github issues**. Instead, send dumps/traces to secure@microsoft.com, referencing this GitHub issue. If this is an application crash, please also provide a Feedback Hub submission link so we can find your diagnostic data on the backend. Use the category "Apps > Windows Terminal (Preview)" and choose "Share My Feedback" after submission to get the link. Please use this form and describe your issue, concisely but precisely, with as much detail as possible. --> # Environment ``` Platform ServicePack Version VersionString -------- ----------- ------- ------------- Win32NT 10.0.19042.0 Microsoft Windows NT 10.0.19042.0 Windows Terminal Version: 1.3.2651.0 WSL2: Ubuntu 18.04.2 LTS OpenSSH_7.6p1 Ubuntu-4ubuntu0.3, OpenSSL 1.0.2n 7 Dec 2017 Remote Server Version: Ubuntu 18.04.3 LTS tmux 2.6 ``` # Steps to reproduce 1 - Open Windows Terminal 2 - Open Ubuntu 18.04 WSL terminal 3 - SSH to the remote server 4 - Start or open a tmux session `tmux new -s test` 5 - Copy paste using mouse ** Using the Shift key`** * Select some text in the terminal using `Shift + mouse left` * Paste it using `shift + right` ** Without shift key ** * Select some text in the terminal using `mouse left` * Paste it using `right` <!-- A description of how to trigger this bug. --> # Expected behavior I want to switch the Windows terminal from Cygwin based mintty terminal. In Cygwin terminal, `shift + mouse left click` selects and copies text from a tmux session. `shift + mouse right` pastes. The copied text is in the clipboard, and I can even paste it into any text editor in Windows. However, I couldn't accomplish to copy/paste behavior on the Windows terminal using shift or without shift. <!-- A description of what you're expecting, possibly containing screenshots or reference material. --> # Actual behavior - `shift + mouse` left selects texts, but it doesn't seem copy. `shift + mouse right` can't paste. - `mouse left` doesn't select and copy text. `mouse right` doesn't do anything, <!-- What's actually happening? -->
claunia added the Needs-TriageNeeds-Tag-Fix labels 2026-01-31 02:30:39 +00:00
Author
Owner

@ismailhkose commented on GitHub (Sep 27, 2020):

I guess there was a configuration issue. I completely removed and installed again. The version was newer but the config was older, and there were some parsing errors due to breaking changes.

@ismailhkose commented on GitHub (Sep 27, 2020): I guess there was a configuration issue. I completely removed and installed again. The version was newer but the config was older, and there were some parsing errors due to breaking changes.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#10800