mirror of
https://github.com/fish-shell/fish-shell.git
synced 2026-06-01 21:21:15 -03:00
don't check if unsigned el->position() < 0
This commit is contained in:
@@ -3195,7 +3195,7 @@ void reader_data_t::handle_readline_command(readline_cmd_t c, readline_loop_stat
|
|||||||
}
|
}
|
||||||
case rl::backward_kill_line: {
|
case rl::backward_kill_line: {
|
||||||
editable_line_t *el = active_edit_line();
|
editable_line_t *el = active_edit_line();
|
||||||
if (el->position() <= 0) {
|
if (el->position() == 0) {
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
const wchar_t *buff = el->text().c_str();
|
const wchar_t *buff = el->text().c_str();
|
||||||
|
|||||||
Reference in New Issue
Block a user