mirror of
https://github.com/fish-shell/fish-shell.git
synced 2025-03-31 09:01:25 +08:00
Fixup b31b52c2 which wasn't right for backward-delete-char
This commit is contained in:
parent
b31b52c272
commit
4c66e69cd9
@ -1210,6 +1210,8 @@ void reader_data_t::delete_char(bool backward) {
|
||||
}
|
||||
size_t pos_end = pos;
|
||||
|
||||
if (el->position() == 0 && backward) 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