Remember previous NormalParams::count in view-lock mode

This commit is contained in:
Delapouite 2017-06-06 09:52:02 +02:00
parent 73ecbdbc97
commit b4af4994fb

View File

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