mirror of
https://github.com/mawww/kakoune.git
synced 2024-12-18 17:02:06 +03:00
parent
735b1e1dc5
commit
85a534fb8a
@ -27,6 +27,8 @@ Optional<Codepoint> Key::codepoint() const
|
||||
return '\n';
|
||||
if (*this == Key::Tab)
|
||||
return '\t';
|
||||
if (*this == Key::Escape)
|
||||
return 0x1B;
|
||||
if (modifiers == Modifiers::None and key > 27 and
|
||||
(key < 0xD800 or key > 0xDFFF)) // avoid surrogates
|
||||
return key;
|
||||
|
Loading…
Reference in New Issue
Block a user