mirror of
https://github.com/fish-shell/fish-shell.git
synced 2025-02-21 18:55:06 +08:00
fixup! reader: when updating commandline, also update rendered highlighting
This commit is contained in:
parent
6a0bb7d6de
commit
31f7be3c8d
@ -1711,7 +1711,7 @@ void reader_data_t::insert_string(editable_line_t *el, const wcstring &str) {
|
||||
maybe_refilter_pager(el);
|
||||
}
|
||||
|
||||
void reader_data_t::push_edit(editable_line_t &el, edit_t edit) {
|
||||
void reader_data_t::push_edit(editable_line_t *el, edit_t edit) {
|
||||
el->push_edit(std::move(edit), false /* allow_coalesce */);
|
||||
maybe_refilter_pager(el);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user