Return normal terminal input when using tty, sys, terminos
Return normal terminal input when using tty, sys, terminos Question: I’m working on a little project which requiers input without "pausing" for each time. Without completely understanding how it works, I used some code that I found online. import tty, sys, termios while True: filedescriptors = termios.tcgetattr(sys.stdin) tty.setcbreak(sys.stdin) dir_inp = 0 while 1: dir_inp = …