include window input "test\n" call2 OK "test" wgetstr $win1 # 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\010de\eODf\n" call2 OK "ade\eODf" wgetstr $win1 # turn on keypad so the embedded cursor key will affect the result call OK keypad $win1 $TRUE input "abc\010\010de\eODf\n" call2 OK "adf" wgetstr $win1