Insert typed characters with the help of the cursor #39