Mimicking a shell

angel andrey.gelman at gmail.com
Mon Dec 30 00:18:28 UTC 2019

On Sunday, 29 December 2019 at 17:03:14 UTC, Jan wrote:
> Hi,
> Is there a way to forward all input and output from a shell? 
> This implies that e.g. pressing the left arrow on the keyboard 
> is immediately being forwarded to the shell and that the output 
> from a shell would be *exactly* the same as output from my D 
> program (that would include the prompt and VGA colouring).
> Kind regards,
> Jan

IMHO, this is kinda what you need:

Sorry, this code is in C, but converting it to D would be fairly 
straight forward.

More information about the Digitalmars-d-learn mailing list