From e262dc1257c1ca7b542ce4874ff899305ff9f144 Mon Sep 17 00:00:00 2001 From: Maxime Coste Date: Thu, 30 Jun 2016 23:49:06 +0100 Subject: [PATCH] Support Resize modifiers in key_to_str As seen in #715, that was not supported correctly --- src/keys.cc | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/keys.cc b/src/keys.cc index 7eb55e46..ce710b80 100644 --- a/src/keys.cc +++ b/src/keys.cc @@ -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("", size.line, size.column); + } bool named = false; String res;