diff options
| author | Maxime Coste <mawww@kakoune.org> | 2020-02-26 07:59:05 +1100 |
|---|---|---|
| committer | Maxime Coste <mawww@kakoune.org> | 2020-02-26 07:59:05 +1100 |
| commit | af6885c0c9c56ee5c58a0088f9f4b87eb5148191 (patch) | |
| tree | 5f62be01cf0080fc4e92d577cbf3c744d48ee17d /src | |
| parent | f6b6b94ba62ce42d0bacba561c9e791b08f314e2 (diff) | |
Control character end at 0x1F
Diffstat (limited to 'src')
| -rw-r--r-- | src/display_buffer.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/display_buffer.cc b/src/display_buffer.cc index d6707747..d9ff4778 100644 --- a/src/display_buffer.cc +++ b/src/display_buffer.cc @@ -325,7 +325,7 @@ String fix_atom_text(StringView str) for (auto it = str.begin(), end = str.end(); it != end; ++it) { char c = *it; - if (c <= 0x21 and c != ' ') + if (c <= 0x1F) { res += StringView{pos, it}; res += String{Codepoint{(uint32_t)(0x2400 + c)}}; |
