CTRL+F4 not working #16080

Closed
opened 2026-01-31 04:56:58 +00:00 by claunia · 2 comments
Owner

Originally created by @abhinavsatheesh on GitHub (Dec 9, 2021).

Windows Terminal version

1.11.2921.0

Windows build number

22000.348

Other Software

No response

Steps to reproduce

When I am using Command Prompt or PowerShell within Windows Terminal, the CTRL+F4 shortcut to close the tab is not working

Expected Behavior

When I press CTRL+F4, the current tab in Windows Terminal must close, which is what the documentation states.

Actual Behavior

The tab didnt close. It just remained still just like that

Originally created by @abhinavsatheesh on GitHub (Dec 9, 2021). ### Windows Terminal version 1.11.2921.0 ### Windows build number 22000.348 ### Other Software _No response_ ### Steps to reproduce When I am using Command Prompt or PowerShell within Windows Terminal, the CTRL+F4 shortcut to close the tab is not working ### Expected Behavior When I press CTRL+F4, the current tab in Windows Terminal must close, which is what the documentation states. ### Actual Behavior The tab didnt close. It just remained still just like that
claunia added the Resolution-Duplicate label 2026-01-31 04:56:58 +00:00
Author
Owner

@zadjii-msft commented on GitHub (Dec 9, 2021):

Please search when filing new issues. Namely, #11419 and #8585. Ctrl+F4 is not a keybinding that's bound by default. You can find a full list of the default keybindings here. Notably,

{ "command": "closePane", "keys": "ctrl+shift+w" },

and "closePane" will close a tab, it it's the only pane in the tab.

the Ctrl+F4 that's on the tab is provided by XAML itself, and we need to do some work to get rid of it / replace it with the actual keybinding. (see #10109)

/dup #11419

@zadjii-msft commented on GitHub (Dec 9, 2021): Please search when filing new issues. Namely, #11419 and #8585. Ctrl+F4 is not a keybinding that's bound by default. You can find a full list of the default keybindings [here](https://github.com/microsoft/terminal/blob/main/src/cascadia/TerminalSettingsModel/defaults.json#L282-L455). Notably, ```json { "command": "closePane", "keys": "ctrl+shift+w" }, ``` and "closePane" will close a tab, it it's the only pane in the tab. the Ctrl+F4 that's on the tab is provided by XAML itself, and we need to do some work to get rid of it / replace it with the actual keybinding. (see #10109) /dup #11419
Author
Owner

@ghost commented on GitHub (Dec 9, 2021):

Hi! We've identified this issue as a duplicate of another one that already exists on this Issue Tracker. This specific instance is being closed in favor of tracking the concern over on the referenced thread. Thanks for your report!

@ghost commented on GitHub (Dec 9, 2021): Hi! We've identified this issue as a duplicate of another one that already exists on this Issue Tracker. This specific instance is being closed in favor of tracking the concern over on the referenced thread. Thanks for your report!
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#16080