Skip to content

wordDelimiters not working inside tmux with [shift]+[left mouse click] #9382

@Kristijan

Description

@Kristijan

Environment

Windows build number: 10.0.18363.1379
Windows Terminal version (if applicable): 1.6.10571.0

Any other software?
Ubuntu using WSL 1
tmux 3.2-rc2 (set-option -g mouse on)

I run tmux from another Linux server, so the flow is:
Windows Terminal --> Ubuntu WSL 1 --> SSH to remote host --> tmux

Steps to reproduce

I updated from Microsoft WindowsTerminal 1.5.10271.0 to 1.6.10571.0 and have been using the following configuration for wordDelimiters "wordDelimiters": " ()\"':,;<>~!@#$%^&*|+=[]{}~?│".

With 1.5.10271.0, the wordDelimiters were honored in both my Ubuntu WSL 1 zsh shell (double click left mouse button), and inside tmux (shift + double click left mouse button).

With 1.6.10571.0, the wordDelimiters are honored in my Ubuntu WSL 1 zsh shell (double click left mouse button), but not inside tmux (shift + double click left mouse button). Holding the shift key and double clicking to select text from within tmux only partially selects text (such as entire words), and doesn't honor the wordDelimiters confugration.

Expected behavior

The expected behavior is that selecting text from within tmux with (shift+double click left mouse button) works as it did in Microsoft WindowsTerminal 1.5.10271.0.

Actual behavior

The actual behavior is that selecting text from within tmux with (shift+double click left mouse button) only partially selects text with Microsoft WindowsTerminal 1.6.10571.0.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Area-InputRelated to input processing (key presses, mouse, etc.)Area-TerminalControlIssues pertaining to the terminal control (input, selection, keybindings, mouse interaction, etc.)Issue-BugIt either shouldn't be doing this or needs an investigation.Needs-TriageIt's a new issue that the core contributor team needs to triage at the next triage meetingPriority-2A description (P2)Product-TerminalThe new Windows Terminal.Resolution-Fix-CommittedFix is checked in, but it might be 3-4 weeks until a release.

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions