Skip to content

Send EOF when CTRL+D is pressed in CMD or PowerShell. (Alias for CTRL+Z) #14764

Description

Description of the new feature/enhancement

Send EOF to Windows programs when CTRL+D is pressed.
Essentially, make CTRL+D an alias for CTRL+Z, to mirror the shortcut from Linux.

This would make exiting from cross-platform REPLs such as Python more consistent across platforms.
For example, on Linux I can exit a Python REPL with CTRL+D, but on Windows I have to use CTRL+Z, ENTER.
There was an issue requesting this functionality in the Python REPL itself, but it was closed as they didn't want to go against the OS norms.

Proposed technical implementation details (optional)

When a user presses CTRL+D in CMD or PowerShell, it should send the same signal EOF to the running program that is currently sent when CTRL+Z is pressed.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Area-ServerDown in the muck of API call servicing, interprocess communication, eventing, etc.Issue-FeatureComplex enough to require an in depth planning process and actual budgeted, scheduled work.Product-TerminalThe new Windows Terminal.

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions