9de
Readline Bare Essentials
Sometimes you may miss typing a character that you wanted to type, and not
notice your error until you have typed several other characters. In that case, you
can use
When you add text in the middle of a line, you will notice that characters to
the right of the cursor get ‘pushed over’ to make room for the text that you
have inserted. Likewise, when you delete text behind the cursor, characters to
the right of the cursor get ‘pulled back’ to fill in the blank space created by
the removal of the text. A list of the basic bare essentials for editing the
text of an input line follows.
Printing characters
Move back one character.
Move forward one character.
Delete the character to the left of the cursor.
Delete the character underneath the cursor.
Insert itself into the line at the cursor.
Undo the last thing that you did. You can undo all the way back to an empty
line.