|
||||
|
Does anyone have any experience using curses with Python? I have a windows created and now I want to capture the arrow keys and move the cursor around the screen. According to the docs I should be able to use getch() to capture a key. When I capture one of the arrow keys it returns 3 numbers. while 1: ch = getch() print ch, Prints three things back to back. I was expecting it to return 1042 or something but it's not. Any ideas? |
||||
|
|
