microsoft/Terminal

Position the experimental, optional right-click context menu so a left click will paste

Open

#15.744 geöffnet am 22. Juli 2023

Auf GitHub ansehen
 (2 Kommentare) (0 Reaktionen) (0 zugewiesene Personen)C++ (3.212 Forks)batch import
Area-TerminalControlHelp WantedIssue-TaskProduct-Terminal

Repository-Metriken

Stars
 (35.764 Stars)
PR-Merge-Metriken
 (Durchschn. Merge 27T 19h) (24 gemergte PRs in 30 T)

Beschreibung

Description of the new feature/enhancement

As a terminal user When I right-click and get a menu I want "Paste" to be the default option that appears directly where my mouse is

Proposed technical implementation details (optional)

The menu should always open such that the paste icon is directly below the cursor, instead of sometimes slightly above and to the right, and sometimes slightty above and to the left.

Do you realize the behavior is inconsistent?

  • The first time I right click, it opens with the cursor just to the left of the the line between the buttons and the text menu items.
  • If you right-click elsewhere while the menu is open, it moves to be horizontally centered on the mouse
  • If you right-click on the menu (and then move your mouse off the menu), you get the window's title-bar context menu

Contributor Guide