1
1
mirror of https://github.com/mawww/kakoune.git synced 2024-12-01 08:23:05 +03:00

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;
if (lock)
view_commands<true>(context, {});
view_commands<true>(context, { count, 0 });
auto cp = key.codepoint();
if (not cp or not context.has_window())