Insert commands for changing cursor position when sending text.