stdin.readln line editing and recall with up arrow

Richard (Rikki) Andrew Cattermole richard at cattermole.co.nz
Sat Feb 25 05:41:48 UTC 2023


On 25/02/2023 6:36 PM, Daren Scot Wilson wrote:
> stdin.readln() works fine until I, out of habit, use the up arrow to 
> recall an earlier input and the left/right to move around and change a 
> character.   How do I get that to work?

Not with that module.

You can either use GNU readline itself, or Adam's version within arsd.


More information about the Digitalmars-d-learn mailing list