include window # test input through unget_wch queue wchar ACHAR 0x3401 wchar NL "\n" call OK unget_wch $NL call OK unget_wch $ACHAR noinput call2 OK $ACHAR mvwgetn_wstr $win1 2 3 2 # test erase and kill character processing, # enable canonical mode; kill should erase whole line call OK cbreak wchar res ["c", "d", "f"] input "ab\025cde\010fghi\n" call2 OK $res mvwgetn_wstr $win1 3 0 4 # test keypad translations wchar res ["a", "c", "\e", "O", "D"] input "ab\010c\eOD\n" call2 OK $res mvwgetn_wstr $win1 4 0 6 call OK keypad $win1 $TRUE wchar res ["a", "b", "d"] input "abc\eODd\n" call2 OK $res mvwgetn_wstr $win1 5 1 4 compare wgetn_wstr.chk