diff options
| author | Maxime Coste <frrrwww@gmail.com> | 2012-10-10 19:15:43 +0200 |
|---|---|---|
| committer | Maxime Coste <frrrwww@gmail.com> | 2012-10-10 19:15:43 +0200 |
| commit | 8de754e2e97376f8cb34957bbd0c64671a4aae41 (patch) | |
| tree | ecac2dff5af5cb6893ed056ba05af22ebeda9a50 /src | |
| parent | dae8f653089105afeab1719b1152139a47bc7136 (diff) | |
when executing keys, propagate potentially changed editor to calling context
Diffstat (limited to 'src')
| -rw-r--r-- | src/commands.cc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/commands.cc b/src/commands.cc index 31066967..ddba6d61 100644 --- a/src/commands.cc +++ b/src/commands.cc @@ -687,6 +687,7 @@ void exec_keys(const KeyList& keys, Context& context) new_context.change_ui(batch_ui); while (batch_ui.has_key_left()) batch_client.handle_next_input(new_context); + context.change_editor(new_context.editor()); } void exec_string(const CommandParameters& params, Context& context) |
