After the character is inserted, each character on the line shifts to the right, and the last character on the line is deleted.