Support Resize modifiers in key_to_str

As seen in #715, that was not supported correctly
This commit is contained in:
Maxime Coste 2016-06-30 23:49:06 +01:00
parent c8f5204202
commit e262dc1257

View File

@ -131,6 +131,11 @@ String key_to_str(Key key)
default: kak_assert(false); default: kak_assert(false);
} }
} }
else if (key.modifiers == Key::Modifiers::Resize)
{
auto size = key.coord() + CharCoord{1,1};
return format("<resize:{}.{}>", size.line, size.column);
}
bool named = false; bool named = false;
String res; String res;