include window input "test\n" call2 OK "test" mvwgetnstr $win1 2 1 10 input "1234\n" call2 OK "123" mvwgetnstr $win1 3 2 4 # try a couple of backspaces, this should erase characters, we have # embedded a cursor left sequence too but this should not be interpreted input "abc\010\010def\eODgh\n" call2 OK "adef" mvwgetnstr $win1 4 1 5 # turn on keypad so the embedded cursor key will affect the result call OK keypad $win1 $TRUE input "abc\010\010def\eODgh\n" call2 OK "adeg" mvwgetnstr $win1 2 2 5