Have wcwidth() return 0 for marks instead of -1

Since kitty always treats marks as combinig chars, this allows us to
remove a few unnecessary branches
This commit is contained in:
Kovid Goyal
2018-02-05 10:06:05 +05:30
parent c572b8bb1a
commit fbe4d036d8
5 changed files with 533 additions and 538 deletions

2
kitty/emoji.h generated
View File

@@ -1,4 +1,4 @@
// unicode data, built from the unicode standard on: 2018-02-04
// unicode data, built from the unicode standard on: 2018-02-05
// see gen-wcwidth.py
#pragma once
#include "data-types.h"