im creating an application using curses and im using the getch() function to get keyboard input, the problem is, that it is painfully slow, it takes several seconds to detect the pressed key and normally i have to press the key several times so the program actually detects it, there is a way to make getch() respond instantly (or at least at a usable speed)?

  • MinekPo1 [She/Her]
    link
    fedilink
    arrow-up
    2
    ·
    1 year ago

    just gonna add that if you are using curses just for the getch function, I recommend the getch module from pip