Merge remote-tracking branch 'Delapouite/view-count'

This commit is contained in:
Maxime Coste 2017-06-07 07:45:53 +01:00
commit 9cb9e77dc2

View File

@ -318,7 +318,7 @@ void view_commands(Context& context, NormalParams params)
return;
if (lock)
view_commands<true>(context, {});
view_commands<true>(context, { count, 0 });
auto cp = key.codepoint();
if (not cp or not context.has_window())