mirror of
https://github.com/fish-shell/fish-shell.git
synced 2025-02-21 09:12:11 +08:00
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:
parent
6bf9ae9aeb
commit
b31b52c272
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user