I have opened an empty Windows PowerShell window, and have not yet entered any commands into the window. The default, unchanged directory is my user account folder. I want to close the window with a keyboard shortcut.
Does NOT work:
Ctrl-w
(Adds the text^W
into the editor)Ctrl-d
(Adds the text^D
into the editor)Alt-F4
(Does nothing)exit
followed by{Enter}
(Works, but is a cumbersome sequence)
Is there any native solution to this problem without using an AutoHotkey script? I am using Windows 10.