mirror of
https://github.com/kovidgoyal/kitty.git
synced 2026-08-04 14:46:03 +00:00
bump unicode version to 16
This commit is contained in:
parent
38607369aa
commit
af8605dabf
7 changed files with 5574 additions and 496 deletions
44
kitty/emoji.h
generated
44
kitty/emoji.h
generated
|
|
@ -1,5 +1,5 @@
|
|||
// Unicode data, built from the Unicode Standard 15.0.0
|
||||
// Code generated by gen-wcwidth.py, DO NOT EDIT.
|
||||
// Unicode data, built from the Unicode Standard 16.0.0
|
||||
// Code generated by wcwidth.py, DO NOT EDIT.
|
||||
|
||||
#pragma once
|
||||
#include "data-types.h"
|
||||
|
|
@ -299,15 +299,13 @@ is_emoji(char_type code) {
|
|||
return true;
|
||||
case 0x1fa70 ... 0x1fa7c:
|
||||
return true;
|
||||
case 0x1fa80 ... 0x1fa88:
|
||||
case 0x1fa80 ... 0x1fa89:
|
||||
return true;
|
||||
case 0x1fa90 ... 0x1fabd:
|
||||
case 0x1fa8f ... 0x1fac6:
|
||||
return true;
|
||||
case 0x1fabf ... 0x1fac5:
|
||||
case 0x1face ... 0x1fadc:
|
||||
return true;
|
||||
case 0x1face ... 0x1fadb:
|
||||
return true;
|
||||
case 0x1fae0 ... 0x1fae8:
|
||||
case 0x1fadf ... 0x1fae9:
|
||||
return true;
|
||||
case 0x1faf0 ... 0x1faf8:
|
||||
return true;
|
||||
|
|
@ -498,7 +496,7 @@ is_symbol(char_type code) {
|
|||
return true;
|
||||
case 0x230c ... 0x2328:
|
||||
return true;
|
||||
case 0x232b ... 0x2426:
|
||||
case 0x232b ... 0x2429:
|
||||
return true;
|
||||
case 0x2440 ... 0x244a:
|
||||
return true;
|
||||
|
|
@ -532,7 +530,7 @@ is_symbol(char_type code) {
|
|||
return true;
|
||||
case 0x2f00 ... 0x2fd5:
|
||||
return true;
|
||||
case 0x2ff0 ... 0x2ffb:
|
||||
case 0x2ff0 ... 0x2fff:
|
||||
return true;
|
||||
case 0x3004:
|
||||
return true;
|
||||
|
|
@ -550,7 +548,9 @@ is_symbol(char_type code) {
|
|||
return true;
|
||||
case 0x3196 ... 0x319f:
|
||||
return true;
|
||||
case 0x31c0 ... 0x31e3:
|
||||
case 0x31c0 ... 0x31e5:
|
||||
return true;
|
||||
case 0x31ef:
|
||||
return true;
|
||||
case 0x3200 ... 0x321e:
|
||||
return true;
|
||||
|
|
@ -636,6 +636,8 @@ is_symbol(char_type code) {
|
|||
return true;
|
||||
case 0x10ac8:
|
||||
return true;
|
||||
case 0x10d8e ... 0x10d8f:
|
||||
return true;
|
||||
case 0x1173f:
|
||||
return true;
|
||||
case 0x11fd5 ... 0x11ff1:
|
||||
|
|
@ -646,6 +648,10 @@ is_symbol(char_type code) {
|
|||
return true;
|
||||
case 0x1bc9c:
|
||||
return true;
|
||||
case 0x1cc00 ... 0x1ccef:
|
||||
return true;
|
||||
case 0x1cd00 ... 0x1ceb3:
|
||||
return true;
|
||||
case 0x1cf50 ... 0x1cfc3:
|
||||
return true;
|
||||
case 0x1d000 ... 0x1d0f5:
|
||||
|
|
@ -758,7 +764,9 @@ is_symbol(char_type code) {
|
|||
return true;
|
||||
case 0x1f890 ... 0x1f8ad:
|
||||
return true;
|
||||
case 0x1f8b0 ... 0x1f8b1:
|
||||
case 0x1f8b0 ... 0x1f8bb:
|
||||
return true;
|
||||
case 0x1f8c0 ... 0x1f8c1:
|
||||
return true;
|
||||
case 0x1f900 ... 0x1fa53:
|
||||
return true;
|
||||
|
|
@ -766,21 +774,19 @@ is_symbol(char_type code) {
|
|||
return true;
|
||||
case 0x1fa70 ... 0x1fa7c:
|
||||
return true;
|
||||
case 0x1fa80 ... 0x1fa88:
|
||||
case 0x1fa80 ... 0x1fa89:
|
||||
return true;
|
||||
case 0x1fa90 ... 0x1fabd:
|
||||
case 0x1fa8f ... 0x1fac6:
|
||||
return true;
|
||||
case 0x1fabf ... 0x1fac5:
|
||||
case 0x1face ... 0x1fadc:
|
||||
return true;
|
||||
case 0x1face ... 0x1fadb:
|
||||
return true;
|
||||
case 0x1fae0 ... 0x1fae8:
|
||||
case 0x1fadf ... 0x1fae9:
|
||||
return true;
|
||||
case 0x1faf0 ... 0x1faf8:
|
||||
return true;
|
||||
case 0x1fb00 ... 0x1fb92:
|
||||
return true;
|
||||
case 0x1fb94 ... 0x1fbca:
|
||||
case 0x1fb94 ... 0x1fbef:
|
||||
return true;
|
||||
default: return false;
|
||||
}
|
||||
|
|
|
|||
4
kitty/rowcolumn-diacritics.c
generated
4
kitty/rowcolumn-diacritics.c
generated
|
|
@ -1,5 +1,5 @@
|
|||
// Unicode data, built from the Unicode Standard 15.0.0
|
||||
// Code generated by gen-wcwidth.py, DO NOT EDIT.
|
||||
// Unicode data, built from the Unicode Standard 16.0.0
|
||||
// Code generated by wcwidth.py, DO NOT EDIT.
|
||||
|
||||
#include "data-types.h"
|
||||
|
||||
|
|
|
|||
444
kitty/unicode-data.c
generated
444
kitty/unicode-data.c
generated
File diff suppressed because one or more lines are too long
192
kitty/wcwidth-std.h
generated
192
kitty/wcwidth-std.h
generated
|
|
@ -1,5 +1,5 @@
|
|||
// Unicode data, built from the Unicode Standard 15.0.0
|
||||
// Code generated by gen-wcwidth.py, DO NOT EDIT.
|
||||
// Unicode data, built from the Unicode Standard 16.0.0
|
||||
// Code generated by wcwidth.py, DO NOT EDIT.
|
||||
|
||||
#pragma once
|
||||
#include "data-types.h"
|
||||
|
|
@ -15,7 +15,7 @@ wcwidth_std(int32_t code) {
|
|||
return 2;
|
||||
// }}}
|
||||
|
||||
// Marks (6399 codepoints) {{{
|
||||
// Marks (6450 codepoints) {{{
|
||||
case 0x0:
|
||||
return 0;
|
||||
case 0xad:
|
||||
|
|
@ -76,7 +76,7 @@ wcwidth_std(int32_t code) {
|
|||
return 0;
|
||||
case 0x890 ... 0x891:
|
||||
return 0;
|
||||
case 0x898 ... 0x89f:
|
||||
case 0x897 ... 0x89f:
|
||||
return 0;
|
||||
case 0x8ca ... 0x903:
|
||||
return 0;
|
||||
|
|
@ -440,9 +440,11 @@ wcwidth_std(int32_t code) {
|
|||
return 0;
|
||||
case 0x10d24 ... 0x10d27:
|
||||
return 0;
|
||||
case 0x10d69 ... 0x10d6d:
|
||||
return 0;
|
||||
case 0x10eab ... 0x10eac:
|
||||
return 0;
|
||||
case 0x10efd ... 0x10eff:
|
||||
case 0x10efc ... 0x10eff:
|
||||
return 0;
|
||||
case 0x10f46 ... 0x10f50:
|
||||
return 0;
|
||||
|
|
@ -508,6 +510,20 @@ wcwidth_std(int32_t code) {
|
|||
return 0;
|
||||
case 0x11370 ... 0x11374:
|
||||
return 0;
|
||||
case 0x113b8 ... 0x113c0:
|
||||
return 0;
|
||||
case 0x113c2:
|
||||
return 0;
|
||||
case 0x113c5:
|
||||
return 0;
|
||||
case 0x113c7 ... 0x113ca:
|
||||
return 0;
|
||||
case 0x113cc ... 0x113d0:
|
||||
return 0;
|
||||
case 0x113d2:
|
||||
return 0;
|
||||
case 0x113e1 ... 0x113e2:
|
||||
return 0;
|
||||
case 0x11435 ... 0x11446:
|
||||
return 0;
|
||||
case 0x1145e:
|
||||
|
|
@ -590,10 +606,14 @@ wcwidth_std(int32_t code) {
|
|||
return 0;
|
||||
case 0x11f3e ... 0x11f42:
|
||||
return 0;
|
||||
case 0x11f5a:
|
||||
return 0;
|
||||
case 0x13430 ... 0x13440:
|
||||
return 0;
|
||||
case 0x13447 ... 0x13455:
|
||||
return 0;
|
||||
case 0x1611e ... 0x1612f:
|
||||
return 0;
|
||||
case 0x16af0 ... 0x16af4:
|
||||
return 0;
|
||||
case 0x16b30 ... 0x16b36:
|
||||
|
|
@ -658,6 +678,8 @@ wcwidth_std(int32_t code) {
|
|||
return 0;
|
||||
case 0x1e4ec ... 0x1e4ef:
|
||||
return 0;
|
||||
case 0x1e5ee ... 0x1e5ef:
|
||||
return 0;
|
||||
case 0x1e8d0 ... 0x1e8d6:
|
||||
return 0;
|
||||
case 0x1e944 ... 0x1e94a:
|
||||
|
|
@ -1278,7 +1300,7 @@ wcwidth_std(int32_t code) {
|
|||
return -2;
|
||||
// }}}
|
||||
|
||||
// East Asian double width (182492 codepoints) {{{
|
||||
// East Asian double width (182695 codepoints) {{{
|
||||
case 0x1100 ... 0x115e:
|
||||
return 2;
|
||||
case 0x231a ... 0x231b:
|
||||
|
|
@ -1295,10 +1317,14 @@ wcwidth_std(int32_t code) {
|
|||
return 2;
|
||||
case 0x2614 ... 0x2615:
|
||||
return 2;
|
||||
case 0x2630 ... 0x2637:
|
||||
return 2;
|
||||
case 0x2648 ... 0x2653:
|
||||
return 2;
|
||||
case 0x267f:
|
||||
return 2;
|
||||
case 0x268a ... 0x268f:
|
||||
return 2;
|
||||
case 0x2693:
|
||||
return 2;
|
||||
case 0x26a1:
|
||||
|
|
@ -1355,9 +1381,7 @@ wcwidth_std(int32_t code) {
|
|||
return 2;
|
||||
case 0x2f00 ... 0x2fd5:
|
||||
return 2;
|
||||
case 0x2ff0 ... 0x2ffb:
|
||||
return 2;
|
||||
case 0x3000 ... 0x3029:
|
||||
case 0x2ff0 ... 0x3029:
|
||||
return 2;
|
||||
case 0x3031 ... 0x303c:
|
||||
return 2;
|
||||
|
|
@ -1373,9 +1397,9 @@ wcwidth_std(int32_t code) {
|
|||
return 2;
|
||||
case 0x3165 ... 0x318e:
|
||||
return 2;
|
||||
case 0x3190 ... 0x31e3:
|
||||
case 0x3190 ... 0x31e5:
|
||||
return 2;
|
||||
case 0x31f0 ... 0x321e:
|
||||
case 0x31ef ... 0x321e:
|
||||
return 2;
|
||||
case 0x3220 ... 0x3247:
|
||||
return 2;
|
||||
|
|
@ -1383,9 +1407,7 @@ wcwidth_std(int32_t code) {
|
|||
return 2;
|
||||
case 0x3298:
|
||||
return 2;
|
||||
case 0x329a ... 0x4dbf:
|
||||
return 2;
|
||||
case 0x4e00 ... 0xa48c:
|
||||
case 0x329a ... 0xa48c:
|
||||
return 2;
|
||||
case 0xa490 ... 0xa4c6:
|
||||
return 2;
|
||||
|
|
@ -1413,7 +1435,7 @@ wcwidth_std(int32_t code) {
|
|||
return 2;
|
||||
case 0x18800 ... 0x18cd5:
|
||||
return 2;
|
||||
case 0x18d00 ... 0x18d08:
|
||||
case 0x18cff ... 0x18d08:
|
||||
return 2;
|
||||
case 0x1aff0 ... 0x1aff3:
|
||||
return 2;
|
||||
|
|
@ -1433,6 +1455,10 @@ wcwidth_std(int32_t code) {
|
|||
return 2;
|
||||
case 0x1b170 ... 0x1b2fb:
|
||||
return 2;
|
||||
case 0x1d300 ... 0x1d356:
|
||||
return 2;
|
||||
case 0x1d360 ... 0x1d376:
|
||||
return 2;
|
||||
case 0x1f004:
|
||||
return 2;
|
||||
case 0x1f0cf:
|
||||
|
|
@ -1517,15 +1543,13 @@ wcwidth_std(int32_t code) {
|
|||
return 2;
|
||||
case 0x1fa70 ... 0x1fa7c:
|
||||
return 2;
|
||||
case 0x1fa80 ... 0x1fa88:
|
||||
case 0x1fa80 ... 0x1fa89:
|
||||
return 2;
|
||||
case 0x1fa90 ... 0x1fabd:
|
||||
case 0x1fa8f ... 0x1fac6:
|
||||
return 2;
|
||||
case 0x1fabf ... 0x1fac5:
|
||||
case 0x1face ... 0x1fadc:
|
||||
return 2;
|
||||
case 0x1face ... 0x1fadb:
|
||||
return 2;
|
||||
case 0x1fae0 ... 0x1fae8:
|
||||
case 0x1fadf ... 0x1fae9:
|
||||
return 2;
|
||||
case 0x1faf0 ... 0x1faf8:
|
||||
return 2;
|
||||
|
|
@ -1538,7 +1562,7 @@ wcwidth_std(int32_t code) {
|
|||
// Emoji Presentation (0 codepoints) {{{
|
||||
// }}}
|
||||
|
||||
// Not assigned in the unicode character database (760471 codepoints) {{{
|
||||
// Not assigned in the unicode character database (755281 codepoints) {{{
|
||||
case 0x378 ... 0x379:
|
||||
return -4;
|
||||
case 0x380 ... 0x383:
|
||||
|
|
@ -1583,7 +1607,7 @@ wcwidth_std(int32_t code) {
|
|||
return -4;
|
||||
case 0x88f:
|
||||
return -4;
|
||||
case 0x892 ... 0x897:
|
||||
case 0x892 ... 0x896:
|
||||
return -4;
|
||||
case 0x984:
|
||||
return -4;
|
||||
|
|
@ -1967,9 +1991,7 @@ wcwidth_std(int32_t code) {
|
|||
return -4;
|
||||
case 0x1acf ... 0x1aff:
|
||||
return -4;
|
||||
case 0x1b4d ... 0x1b4f:
|
||||
return -4;
|
||||
case 0x1b7f:
|
||||
case 0x1b4d:
|
||||
return -4;
|
||||
case 0x1bf4 ... 0x1bfb:
|
||||
return -4;
|
||||
|
|
@ -1977,7 +1999,7 @@ wcwidth_std(int32_t code) {
|
|||
return -4;
|
||||
case 0x1c4a ... 0x1c4c:
|
||||
return -4;
|
||||
case 0x1c89 ... 0x1c8f:
|
||||
case 0x1c8b ... 0x1c8f:
|
||||
return -4;
|
||||
case 0x1cbb ... 0x1cbc:
|
||||
return -4;
|
||||
|
|
@ -2029,7 +2051,7 @@ wcwidth_std(int32_t code) {
|
|||
return -4;
|
||||
case 0x218c ... 0x218f:
|
||||
return -4;
|
||||
case 0x2427 ... 0x243f:
|
||||
case 0x242a ... 0x243f:
|
||||
return -4;
|
||||
case 0x244b ... 0x245f:
|
||||
return -4;
|
||||
|
|
@ -2075,8 +2097,6 @@ wcwidth_std(int32_t code) {
|
|||
return -4;
|
||||
case 0x2fd6 ... 0x2fef:
|
||||
return -4;
|
||||
case 0x2ffc ... 0x2fff:
|
||||
return -4;
|
||||
case 0x3040:
|
||||
return -4;
|
||||
case 0x3097 ... 0x3098:
|
||||
|
|
@ -2087,7 +2107,7 @@ wcwidth_std(int32_t code) {
|
|||
return -4;
|
||||
case 0x318f:
|
||||
return -4;
|
||||
case 0x31e4 ... 0x31ef:
|
||||
case 0x31e6 ... 0x31ee:
|
||||
return -4;
|
||||
case 0x321f:
|
||||
return -4;
|
||||
|
|
@ -2099,13 +2119,13 @@ wcwidth_std(int32_t code) {
|
|||
return -4;
|
||||
case 0xa6f8 ... 0xa6ff:
|
||||
return -4;
|
||||
case 0xa7cb ... 0xa7cf:
|
||||
case 0xa7ce ... 0xa7cf:
|
||||
return -4;
|
||||
case 0xa7d2:
|
||||
return -4;
|
||||
case 0xa7d4:
|
||||
return -4;
|
||||
case 0xa7da ... 0xa7f1:
|
||||
case 0xa7dd ... 0xa7f1:
|
||||
return -4;
|
||||
case 0xa82d ... 0xa82f:
|
||||
return -4;
|
||||
|
|
@ -2281,7 +2301,9 @@ wcwidth_std(int32_t code) {
|
|||
return -4;
|
||||
case 0x105ba:
|
||||
return -4;
|
||||
case 0x105bd ... 0x105ff:
|
||||
case 0x105bd ... 0x105bf:
|
||||
return -4;
|
||||
case 0x105f4 ... 0x105ff:
|
||||
return -4;
|
||||
case 0x10737 ... 0x1073f:
|
||||
return -4;
|
||||
|
|
@ -2367,7 +2389,13 @@ wcwidth_std(int32_t code) {
|
|||
return -4;
|
||||
case 0x10d28 ... 0x10d2f:
|
||||
return -4;
|
||||
case 0x10d3a ... 0x10e5f:
|
||||
case 0x10d3a ... 0x10d3f:
|
||||
return -4;
|
||||
case 0x10d66 ... 0x10d68:
|
||||
return -4;
|
||||
case 0x10d86 ... 0x10d8d:
|
||||
return -4;
|
||||
case 0x10d90 ... 0x10e5f:
|
||||
return -4;
|
||||
case 0x10e7f:
|
||||
return -4;
|
||||
|
|
@ -2375,7 +2403,9 @@ wcwidth_std(int32_t code) {
|
|||
return -4;
|
||||
case 0x10eae ... 0x10eaf:
|
||||
return -4;
|
||||
case 0x10eb2 ... 0x10efc:
|
||||
case 0x10eb2 ... 0x10ec1:
|
||||
return -4;
|
||||
case 0x10ec5 ... 0x10efb:
|
||||
return -4;
|
||||
case 0x10f28 ... 0x10f2f:
|
||||
return -4;
|
||||
|
|
@ -2455,7 +2485,29 @@ wcwidth_std(int32_t code) {
|
|||
return -4;
|
||||
case 0x1136d ... 0x1136f:
|
||||
return -4;
|
||||
case 0x11375 ... 0x113ff:
|
||||
case 0x11375 ... 0x1137f:
|
||||
return -4;
|
||||
case 0x1138a:
|
||||
return -4;
|
||||
case 0x1138c ... 0x1138d:
|
||||
return -4;
|
||||
case 0x1138f:
|
||||
return -4;
|
||||
case 0x113b6:
|
||||
return -4;
|
||||
case 0x113c1:
|
||||
return -4;
|
||||
case 0x113c3 ... 0x113c4:
|
||||
return -4;
|
||||
case 0x113c6:
|
||||
return -4;
|
||||
case 0x113cb:
|
||||
return -4;
|
||||
case 0x113d6:
|
||||
return -4;
|
||||
case 0x113d9 ... 0x113e0:
|
||||
return -4;
|
||||
case 0x113e3 ... 0x113ff:
|
||||
return -4;
|
||||
case 0x1145c:
|
||||
return -4;
|
||||
|
|
@ -2477,7 +2529,9 @@ wcwidth_std(int32_t code) {
|
|||
return -4;
|
||||
case 0x116ba ... 0x116bf:
|
||||
return -4;
|
||||
case 0x116ca ... 0x116ff:
|
||||
case 0x116ca ... 0x116cf:
|
||||
return -4;
|
||||
case 0x116e4 ... 0x116ff:
|
||||
return -4;
|
||||
case 0x1171b ... 0x1171c:
|
||||
return -4;
|
||||
|
|
@ -2517,7 +2571,11 @@ wcwidth_std(int32_t code) {
|
|||
return -4;
|
||||
case 0x11af9 ... 0x11aff:
|
||||
return -4;
|
||||
case 0x11b0a ... 0x11bff:
|
||||
case 0x11b0a ... 0x11bbf:
|
||||
return -4;
|
||||
case 0x11be2 ... 0x11bef:
|
||||
return -4;
|
||||
case 0x11bfa ... 0x11bff:
|
||||
return -4;
|
||||
case 0x11c09:
|
||||
return -4;
|
||||
|
|
@ -2565,7 +2623,7 @@ wcwidth_std(int32_t code) {
|
|||
return -4;
|
||||
case 0x11f3b ... 0x11f3d:
|
||||
return -4;
|
||||
case 0x11f5a ... 0x11faf:
|
||||
case 0x11f5b ... 0x11faf:
|
||||
return -4;
|
||||
case 0x11fb1 ... 0x11fbf:
|
||||
return -4;
|
||||
|
|
@ -2581,9 +2639,13 @@ wcwidth_std(int32_t code) {
|
|||
return -4;
|
||||
case 0x12ff3 ... 0x12fff:
|
||||
return -4;
|
||||
case 0x13456 ... 0x143ff:
|
||||
case 0x13456 ... 0x1345f:
|
||||
return -4;
|
||||
case 0x14647 ... 0x167ff:
|
||||
case 0x143fb ... 0x143ff:
|
||||
return -4;
|
||||
case 0x14647 ... 0x160ff:
|
||||
return -4;
|
||||
case 0x1613a ... 0x167ff:
|
||||
return -4;
|
||||
case 0x16a39 ... 0x16a3f:
|
||||
return -4;
|
||||
|
|
@ -2607,7 +2669,9 @@ wcwidth_std(int32_t code) {
|
|||
return -4;
|
||||
case 0x16b78 ... 0x16b7c:
|
||||
return -4;
|
||||
case 0x16b90 ... 0x16e3f:
|
||||
case 0x16b90 ... 0x16d3f:
|
||||
return -4;
|
||||
case 0x16d7a ... 0x16e3f:
|
||||
return -4;
|
||||
case 0x16e9b ... 0x16eff:
|
||||
return -4;
|
||||
|
|
@ -2623,7 +2687,7 @@ wcwidth_std(int32_t code) {
|
|||
return -4;
|
||||
case 0x187f8 ... 0x187ff:
|
||||
return -4;
|
||||
case 0x18cd6 ... 0x18cff:
|
||||
case 0x18cd6 ... 0x18cfe:
|
||||
return -4;
|
||||
case 0x18d09 ... 0x1afef:
|
||||
return -4;
|
||||
|
|
@ -2653,7 +2717,11 @@ wcwidth_std(int32_t code) {
|
|||
return -4;
|
||||
case 0x1bc9a ... 0x1bc9b:
|
||||
return -4;
|
||||
case 0x1bca4 ... 0x1ceff:
|
||||
case 0x1bca4 ... 0x1cbff:
|
||||
return -4;
|
||||
case 0x1ccfa ... 0x1ccff:
|
||||
return -4;
|
||||
case 0x1ceb4 ... 0x1ceff:
|
||||
return -4;
|
||||
case 0x1cf2e ... 0x1cf2f:
|
||||
return -4;
|
||||
|
|
@ -2755,7 +2823,11 @@ wcwidth_std(int32_t code) {
|
|||
return -4;
|
||||
case 0x1e300 ... 0x1e4cf:
|
||||
return -4;
|
||||
case 0x1e4fa ... 0x1e7df:
|
||||
case 0x1e4fa ... 0x1e5cf:
|
||||
return -4;
|
||||
case 0x1e5fb ... 0x1e5fe:
|
||||
return -4;
|
||||
case 0x1e600 ... 0x1e7df:
|
||||
return -4;
|
||||
case 0x1e7e7:
|
||||
return -4;
|
||||
|
|
@ -2895,7 +2967,9 @@ wcwidth_std(int32_t code) {
|
|||
return -4;
|
||||
case 0x1f8ae ... 0x1f8af:
|
||||
return -4;
|
||||
case 0x1f8b2 ... 0x1f8ff:
|
||||
case 0x1f8bc ... 0x1f8bf:
|
||||
return -4;
|
||||
case 0x1f8c2 ... 0x1f8ff:
|
||||
return -4;
|
||||
case 0x1fa54 ... 0x1fa5f:
|
||||
return -4;
|
||||
|
|
@ -2903,22 +2977,18 @@ wcwidth_std(int32_t code) {
|
|||
return -4;
|
||||
case 0x1fa7d ... 0x1fa7f:
|
||||
return -4;
|
||||
case 0x1fa89 ... 0x1fa8f:
|
||||
case 0x1fa8a ... 0x1fa8e:
|
||||
return -4;
|
||||
case 0x1fabe:
|
||||
case 0x1fac7 ... 0x1facd:
|
||||
return -4;
|
||||
case 0x1fac6 ... 0x1facd:
|
||||
case 0x1fadd ... 0x1fade:
|
||||
return -4;
|
||||
case 0x1fadc ... 0x1fadf:
|
||||
return -4;
|
||||
case 0x1fae9 ... 0x1faef:
|
||||
case 0x1faea ... 0x1faef:
|
||||
return -4;
|
||||
case 0x1faf9 ... 0x1faff:
|
||||
return -4;
|
||||
case 0x1fb93:
|
||||
return -4;
|
||||
case 0x1fbcb ... 0x1fbef:
|
||||
return -4;
|
||||
case 0x1fbfa ... 0x1ffff:
|
||||
return -4;
|
||||
case 0x2fffe ... 0x2ffff:
|
||||
|
|
@ -3231,15 +3301,13 @@ is_emoji_presentation_base(uint32_t code) {
|
|||
return true;
|
||||
case 0x1fa70 ... 0x1fa7c:
|
||||
return true;
|
||||
case 0x1fa80 ... 0x1fa88:
|
||||
case 0x1fa80 ... 0x1fa89:
|
||||
return true;
|
||||
case 0x1fa90 ... 0x1fabd:
|
||||
case 0x1fa8f ... 0x1fac6:
|
||||
return true;
|
||||
case 0x1fabf ... 0x1fac5:
|
||||
case 0x1face ... 0x1fadc:
|
||||
return true;
|
||||
case 0x1face ... 0x1fadb:
|
||||
return true;
|
||||
case 0x1fae0 ... 0x1fae8:
|
||||
case 0x1fadf ... 0x1fae9:
|
||||
return true;
|
||||
case 0x1faf0 ... 0x1faf8:
|
||||
return true;
|
||||
|
|
@ -3247,7 +3315,7 @@ is_emoji_presentation_base(uint32_t code) {
|
|||
}
|
||||
return true;
|
||||
}
|
||||
#define UNICODE_MAJOR_VERSION 15
|
||||
#define UNICODE_MAJOR_VERSION 16
|
||||
#define UNICODE_MINOR_VERSION 0
|
||||
#define UNICODE_PATCH_VERSION 0
|
||||
|
||||
|
|
|
|||
5194
tools/unicode_names/names.txt
generated
5194
tools/unicode_names/names.txt
generated
File diff suppressed because it is too large
Load diff
|
|
@ -1,5 +1,5 @@
|
|||
// Unicode data, built from the Unicode Standard 15.0.0
|
||||
// Code generated by gen-wcwidth.py, DO NOT EDIT.
|
||||
// Unicode data, built from the Unicode Standard 16.0.0
|
||||
// Code generated by wcwidth.py, DO NOT EDIT.
|
||||
|
||||
package images
|
||||
|
||||
|
|
|
|||
188
tools/wcswidth/std.go
generated
188
tools/wcswidth/std.go
generated
File diff suppressed because one or more lines are too long
Loading…
Add table
Add a link
Reference in a new issue