I'm trying to make myself a small code testing program where i can type in multiline code at the command line and execute it. So far this is fine but i would like to be able to edit the previously executed code at the command line and then re-execute it. I suppose i need to supply the previously typed in code to STDIN somehow but i don't even know if this is possible.
TeraMarv.