Skip to content

Document that CTRL+Z follow by ENTER results in EOF #344

Description

@j0le

When pressing CTRL+Z followed by Enter, the ReadFile function returns 0 via the out parameter lpNumberOfBytesRead. This means "End of File" (EOF). Please document that. I guess, the behavior depends on the Console Mode.

See discussion in the Windows Terminal repository, especially this comment by Dustin L. Howett (@DHowett): microsoft/terminal#14764 (comment)

Many thanks in advance!

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions