when executing keys, propagate potentially changed editor to calling context
This commit is contained in:
parent
dae8f65308
commit
8de754e2e9
|
@ -687,6 +687,7 @@ void exec_keys(const KeyList& keys, Context& context)
|
||||||
new_context.change_ui(batch_ui);
|
new_context.change_ui(batch_ui);
|
||||||
while (batch_ui.has_key_left())
|
while (batch_ui.has_key_left())
|
||||||
batch_client.handle_next_input(new_context);
|
batch_client.handle_next_input(new_context);
|
||||||
|
context.change_editor(new_context.editor());
|
||||||
}
|
}
|
||||||
|
|
||||||
void exec_string(const CommandParameters& params, Context& context)
|
void exec_string(const CommandParameters& params, Context& context)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user