is there a way to pause a program and resume with just a key press (or enter key)

Meta via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Tue Jul 15 14:03:09 PDT 2014


On Tuesday, 15 July 2014 at 10:22:52 UTC, rumbu wrote:
> getch() reads any key and continues;
>
> On Windows you can pipe you executable with the "more" command 
> to pause after each page: your.exe | more

Don't forget that getch() is also Windows-specific.


More information about the Digitalmars-d-learn mailing list