How do I read all keys pressed in nim since the last call to a function, without needing to press enter
I need to read keys from stdin
without blocking, and without only recieving them when a newline is pressed. The way i would like it be formatted is a sequence, where each item is a keypress or ascii char, of every key pressed since the last time I called this procedure.