ctrl + w sometimes crash #2165

Closed
opened 2026-01-30 22:48:32 +00:00 by claunia · 5 comments
Owner

Originally created by @17Edwin on GitHub (Jun 25, 2019).

Steps to reproduce

ctrl + w sometimes crash unnormally, ctrl + , is also

Expected behavior

shortcut keyboard run proper

Actual behavior

Originally created by @17Edwin on GitHub (Jun 25, 2019). # Steps to reproduce ctrl + w sometimes crash unnormally, ctrl + , is also # Expected behavior shortcut keyboard run proper # Actual behavior
Author
Owner

@yodurr commented on GitHub (Jun 25, 2019):

Is there a particular shell you're using when ctrl+w crashes?
Is this with your local build or the Store version?

@yodurr commented on GitHub (Jun 25, 2019): Is there a particular shell you're using when ctrl+w crashes? Is this with your local build or the Store version?
Author
Owner

@17Edwin commented on GitHub (Jun 25, 2019):

both power shell & cmd prompt, sometimes it not responding and slow, and i have to close and reopen

@17Edwin commented on GitHub (Jun 25, 2019): both power shell & cmd prompt, sometimes it not responding and slow, and i have to close and reopen
Author
Owner

@antoineco commented on GitHub (Jun 25, 2019):

Happens to me in WSL2 (Ubuntu), consistently. CTRL+W is used to change splits in Vim, so this is particularly annoying.

Windows build number: Version 10.0.18922.1000
Windows Terminal version (if applicable): 0.2.1715.0

edit: sorry for the noise. Looks like CTRL+W is a shortcut for "Close window" in most Windows applications. Not sure if that's reasonable in a terminal app, at least it should be possible to disable it. By chance it can be configured inside profiles.json -> keybindings. Cheers @DHowett-MSFT

9b92986b49/src/cascadia/TerminalApp/CascadiaSettings.cpp (L257-L259)

@antoineco commented on GitHub (Jun 25, 2019): Happens to me in WSL2 (Ubuntu), consistently. CTRL+W is used to change splits in Vim, so this is particularly annoying. ```none Windows build number: Version 10.0.18922.1000 Windows Terminal version (if applicable): 0.2.1715.0 ``` --- **edit:** sorry for the noise. Looks like CTRL+W is a shortcut for "Close window" in [most Windows applications](https://superuser.com/q/721645/562512). ~Not sure if that's reasonable in a terminal app, at least it should be possible to disable it~. By chance it can be configured inside `profiles.json` -> `keybindings`. Cheers @DHowett-MSFT https://github.com/microsoft/terminal/blob/9b92986b49bed8cc41fde4d6ef080921c41e6d9e/src/cascadia/TerminalApp/CascadiaSettings.cpp#L257-L259
Author
Owner

@DHowett-MSFT commented on GitHub (Jun 25, 2019):

You know you can edit the bindings in the settings file, right?

@DHowett-MSFT commented on GitHub (Jun 25, 2019): You know you can edit the bindings in the settings file, right?
Author
Owner

@carlos-zamora commented on GitHub (Jun 26, 2019):

Probably a duplicate of #1380 since CTRL+W closes a tab. Closing and marking as duplicate.

@carlos-zamora commented on GitHub (Jun 26, 2019): Probably a duplicate of #1380 since CTRL+W closes a tab. Closing and marking as duplicate.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#2165