Concurrent console input and output