microsoft/Terminal

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

Open

#7.427 aberto em 27 de ago. de 2020

Ver no GitHub
 (3 comments) (0 reactions) (0 assignees)C++ (3.212 forks)batch import
Area-InputHelp WantedIssue-TaskPriority-3Product-Terminal

Métricas do repositório

Stars
 (35.764 stars)
Métricas de merge de PR
 (Mesclagem média 27d 19h) (24 fundiu PRs em 30d)

Description

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

Guia do colaborador