The use of the word "delete" made me think that this would be doing a forward delete rather than simulating a backspace. An adjustment to the comments to reflect that it's simulating backspace would be helpful.