From 8de754e2e97376f8cb34957bbd0c64671a4aae41 Mon Sep 17 00:00:00 2001 From: Maxime Coste Date: Wed, 10 Oct 2012 19:15:43 +0200 Subject: when executing keys, propagate potentially changed editor to calling context --- src/commands.cc | 1 + 1 file changed, 1 insertion(+) (limited to 'src') 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) -- cgit v1.2.3