Fix another egregious regression from 8a033b9f3 Add undo

The first character in the commandline could not be deleted with ^D.
This commit is contained in:
Johannes Altmanninger 2020-02-09 05:17:27 +01:00
parent 6bf9ae9aeb
commit b31b52c272

View File

@ -1210,8 +1210,6 @@ void reader_data_t::delete_char(bool backward) {
}
size_t pos_end = pos;
if (el->position() == 0) return;
// Fake composed character sequences by continuing to delete until we delete a character of
// width at least 1.
int width;