Support Resize modifiers in key_to_str
As seen in #715, that was not supported correctly
This commit is contained in:
parent
c8f5204202
commit
e262dc1257
|
@ -131,6 +131,11 @@ String key_to_str(Key key)
|
|||
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;
|
||||
String res;
|
||||
|
|
Loading…
Reference in New Issue
Block a user