terminal icon indicating copy to clipboard operation
terminal copied to clipboard

Tabs display the close tab shortcut as Ctrl+F4, even though that's not bound by default. They should display what the actual keybinding is instead.

Open uvicorn opened this issue 4 years ago • 3 comments

Windows Terminal version (or Windows build number)

windows terminal version: 1.7.1033.0

Other Software

No response

Steps to reproduce

  1. open terminal
  2. hover the mouse over the cross

there is no reference to the ctrl + f4 key in settings.json

Expected Behavior

ctrl+shift+w everywhere

Actual Behavior

изображение

uvicorn avatar May 17 '21 13:05 uvicorn

Huh. We get that text from WinUI on the tab close button by default. I bet we could override that somehow.

zadjii-msft avatar May 17 '21 15:05 zadjii-msft

Seems to be initialized here https://github.com/microsoft/microsoft-ui-xaml/blob/main/dev/TabView/TabView.cpp#L45 as a private member of the TabView class with the text taken from https://github.com/microsoft/microsoft-ui-xaml/blob/main/dev/TabView/Strings/en-us/Resources.resw#L137.

So I guess WinUI would first need to be adapted to make the tooltip on the close button configurable?

kovdu avatar May 18 '21 21:05 kovdu

Also stumbled on this. F-keys require some finger acrobatics on my laptop. It would be nice to have Ctrl+W/Ctrl+Shift+W supported and hinted correctly!

vadimkantorov avatar Feb 07 '22 20:02 vadimkantorov