microsoft / microsoft/terminal

shift conflict when using tmux in WSL2 with mouse mode on

Open
#20,205 5 comments 0 reactions 1 assignee View on GitHub

@DHowett is already working on this.

Since May 13, 2026.

Area-Interaction Issue-Bug Product-Terminal
Dominant language
C++
Stars
105k
Forks
9.6k
Avg merge
3d 17h
Merged PRs (30d)
29

Description

Windows Terminal version

1.24.10921.0

Windows build number

No response

Other Software

tmux 3.0a
wsl2

Steps to reproduce

A test file test.txt is prepare as the below

line 1
line 2

and print it to screen via cat test.txt.
Then copy with mouse under different setup:

windows terminal + WSL2

Copy with mouse select without shift and then right click, then paste here

line 1
line 2

** with shift pressed **

line 1                                                                                                                                                    line 2   
windows terminal + WSL2 + tmux mouse mode on

Have to copy with shift pressed

line 1                                                                                                                                                    line 2   
Expected Behavior

No response

Actual Behavior

When shift is pressed, the copy content become one line with long space. Is there a way to disable such behavior when shift is press?

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.