When running Illud with an empty buffer as input, the cursor starts at a position not in the buffer. If a character is then inserted and then back in normal mode, if x is input to delete a character, Illud crashes. This is because the cursor is still at a position not in the buffer. What should be done here? Should the cursor be allowed to be off the end of the buffer? If that is allowed, should we display the cursor in a special way -- blinking or underlined?
When running Illud with an empty buffer as input, the cursor starts at a position not in the buffer. If a character is then inserted and then back in normal mode, if
x
is input to delete a character, Illud crashes. This is because the cursor is still at a position not in the buffer. What should be done here? Should the cursor be allowed to be off the end of the buffer? If that is allowed, should we display the cursor in a special way -- blinking or underlined?