microsoft/Terminal

Tab drag causes mousedown in tmux

Open

#13,191 建立於 2022年5月27日

在 GitHub 查看
 (5 留言) (0 反應) (0 負責人)C++ (3,212 fork)batch import
Area-InputArea-TerminalControlHelp WantedIssue-BugPriority-2Product-Terminal

倉庫指標

Star
 (35,764 star)
PR 合併指標
 (平均合併 27天 19小時) (30 天內合併 24 個 PR)

描述

Windows Terminal version

1.13.11432.0

Windows build number

10.0.22000.0

Other Software

tmux 3.0a inside WSL2

Steps to reproduce

  • Open a tmux session inside WSL2 (Ubuntu 20.04.3 in my case)
  • Drag the current tab downwards so it overlays the screen area (and do it quite fast)

Expected Behavior

The tmux session should be unaffected by the drag action outside of it.

Actual Behavior

Onmousedown / drag apparently is triggered and causes the selection to change and scroll mode to start. This only happens if you drag quite fast.

https://user-images.githubusercontent.com/5270359/170699426-7528dbdd-d5cc-4ddd-9ffc-b82d7630a4ac.mp4

The latest preview version 1.14.1452.0 also has this issue and 1.12 had it as well.

貢獻者指南