diff --git a/src/plugins/fakevim/fakevimhandler.cpp b/src/plugins/fakevim/fakevimhandler.cpp index 67bdb18178e..9926f57eb70 100644 --- a/src/plugins/fakevim/fakevimhandler.cpp +++ b/src/plugins/fakevim/fakevimhandler.cpp @@ -994,7 +994,7 @@ public: // cursor keys. This breaks some of the logic later on // relying on text() being empty for "special" keys. // FIXME: Check the real conditions. - if (x.unicode() < ' ') + if (x.unicode() < ' ' && x.unicode() != 27) m_text.clear(); else if (x.isLetter()) m_key = x.toUpper().unicode();