I thought

int main(string[] args)
{
    import std.stdio;
    write(`Press enter to continue: `);
    stdout.flush;
    auto line = readln();
    writeln("Read ", line);
    return 0;
}

would function as a good prompting but it doesn't.

I outputs the string given to write *after* I've pressed return. Why?

Reply via email to