Standard keys functions in curses module
Have a simple program: import curses import time window = curses.initscr() curses.cbreak() window.nodelay(True) while True: key = window.getch() if key != -1: print key time.sleep(0.01) curses.endwin() How can i turn on mode that doesn't ignore standart Enter, Backspace and Arrows keys functions? or only the way is to add all special characters to elif: if event == curses.KEY_DOWN: #key down function I'm trying modes curses.raw() and other, but there no effect... Please add example if you can. Here is an example that allows you to keep backspace (keep in mind ASCII code for backspace is 127):