include window
input "test\n"
call2 OK "test" mvwgetstr $win1 3 2
# 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\eODgh" mvwgetstr $win1 1 4
# 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 "adegh" mvwgetstr $win1 2 1
