Jesse Phillips Wrote:
> Hello,
>
> I didn't get much feedback on what was thought about it. I think I'll try
> the Phobos mailing list...
Okay, give it a try. :)
> without my library the code would look
> something like (sorry cant test right now)
>
> import std.stdio;
>
> void main()
> {
> char k;
>
> for(int i = 0; i < 10; i++)
> {
> writef("Press key #%d:\t\n", i);
> k = std.conv.to!char(readln());
> }
> }
Something like that, but not using readln() since it returns an array of chars
and we need a single char.