• Does one have to use curses to read single characters from keyboard?

    From Chris Green@21:1/5 to All on Sun Dec 11 10:09:59 2022
    Is the only way to read single characters from the keyboard to use curses.cbreak() or curses.raw()? If so how do I then read characters,
    it's not at all obvious from the curses documentation as that seems to
    think I'm using a GUI in some shape or form.

    All I actually want to do is get 'Y' or 'N' answers to questions on
    the command line.

    Searching for ways to do this produces what seem to me rather clumsy
    ways of doing it.

    --
    Chris Green
    ยท

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)