How to signal End-Of-File in the Linux Console Window of Visual Studio

Viewed 171

In VS2019 we can build Linux Console Applications. Under the Visual Studio debugger, they execute using the Linux Console Window, for stdin and stdout.

In a 'real' Linux shell the key stroke Ctrl-D indicates end of input to a console application. Ctrl-D does not work in the Linux Console Window. (Ctrl-D is taken by Visual Studio as the first key of a chord - at least using the default key bindings)

What keystroke do I need?

NOTE - I am NOT asking for Ctrl-Z here. That would indicate end of input to a Windows console program running in a command prompt window.

0 Answers
Related