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.

贡献者指南