import console let input = consoleReadLine() # <- Works great! consoleEcho input # <- Works great! Run
I think this needs to be in the standard module because using `console.nim` breaks std functions: (at least for me.) stdout.write "something" # <- Error: unhandled exception: index -1 not in ... echo "something" # <- Error: unhandled exception: index -1 not in ... let stdinput = stdin.readLine() # <- Error: unhandled exception: EOF reached [EOFError] Run