mirror of
https://github.com/mawww/kakoune.git
synced 2024-11-30 23:37:17 +03:00
parent
a00e40e151
commit
d2a324d3c4
@ -51,7 +51,7 @@ inline bool is_basic_alpha(Codepoint c)
|
||||
|
||||
inline size_t codepoint_width(Codepoint c)
|
||||
{
|
||||
return wcwidth((wchar_t)c);
|
||||
return c == '\n' ? 1 : wcwidth((wchar_t)c);
|
||||
}
|
||||
|
||||
enum class CharCategories
|
||||
|
Loading…
Reference in New Issue
Block a user