1include start 2call OK keypad STDSCR $TRUE 3delay 0 4input "\eOA" 5call $KEY_UP getch 6call OK refresh 7 8# despite of having keypad enabled, the input for assembled characters is 9# broken, ESC_DELAY is by default 300ms and we have set delay 1000ms which is 10# greater than that 11delay 1000 12input "\eOA" 13call 0x1b getch 14call OK refresh 15 16call OK notimeout STDSCR $TRUE 17input "\eOA" 18call $KEY_UP getch 19call OK refresh 20 21compare notimeout.chk 22 23# check the same for window 24include window_create 25call OK keypad $win1 $TRUE 26input "\eOA" 27call 0x1b wgetch $win1 28call OK wrefresh $win1 29 30call OK notimeout $win1 $TRUE 31input "\eOA" 32call $KEY_UP wgetch $win1 33call OK wrefresh $win1 34