microsoft/Terminal

While mouse over on titlebar, allow to react to Ctrl+MouseScroll human-events on to active tab.

Open

#7,427 创建于 2020年8月27日

在 GitHub 查看
 (3 评论) (0 反应) (0 负责人)C++ (3,212 fork)batch import
Area-InputHelp WantedIssue-TaskPriority-3Product-Terminal

仓库指标

Star
 (35,764 star)
PR 合并指标
 (平均合并 27天 19小时) (30 天内合并 24 个 PR)

描述

Description of the new feature/enhancement

Then mouse is over WindowsTerminal's titlebar, Ctrl+MouseScroll events should be handled the same way as mouse would be over inside terminal window.

I am using Windows Terminal with SSH client to connect to linux remotes. And then I open linux htop cli-utility I cannot rezoom Windows terminal.

Proposed technical implementation details (optional)

Ctrl+mouse_scroll should allow zoom-in/out currently active tab THEN mouse is over windows-terminal's titlebar's blank space.

Currently I need to exit htop to rezoom and then reenter htop.

To replicate original problem:

  1. Enter powershell via WindowsTerminal.
  2. Execute: $ ssh user@hostname -p 22 -i ~/.ssh/id_ed25519 $ htop
  3. Try to rezoom with Ctrl+MouseScroll , you cannot.
  4. Exit htop by pressing Q.
  5. Now you can rezoom with Ctrl+MouseScroll in WindowsTerminal

贡献者指南