]>
Commit | Line | Data |
---|---|---|
53e6db90 DC |
1 | # Generated by make_width_table.py |
2 | # wcwidth 0.2.6 | |
3 | # Unicode 15.0.0 | |
4 | from typing import Final, List, Tuple | |
5 | ||
6 | WIDTH_TABLE: Final[List[Tuple[int, int, int]]] = [ | |
7 | (0, 0, 0), | |
8 | (1, 31, -1), | |
9 | (127, 159, -1), | |
10 | (768, 879, 0), | |
11 | (1155, 1161, 0), | |
12 | (1425, 1469, 0), | |
13 | (1471, 1471, 0), | |
14 | (1473, 1474, 0), | |
15 | (1476, 1477, 0), | |
16 | (1479, 1479, 0), | |
17 | (1552, 1562, 0), | |
18 | (1611, 1631, 0), | |
19 | (1648, 1648, 0), | |
20 | (1750, 1756, 0), | |
21 | (1759, 1764, 0), | |
22 | (1767, 1768, 0), | |
23 | (1770, 1773, 0), | |
24 | (1809, 1809, 0), | |
25 | (1840, 1866, 0), | |
26 | (1958, 1968, 0), | |
27 | (2027, 2035, 0), | |
28 | (2045, 2045, 0), | |
29 | (2070, 2073, 0), | |
30 | (2075, 2083, 0), | |
31 | (2085, 2087, 0), | |
32 | (2089, 2093, 0), | |
33 | (2137, 2139, 0), | |
34 | (2200, 2207, 0), | |
35 | (2250, 2273, 0), | |
36 | (2275, 2306, 0), | |
37 | (2362, 2362, 0), | |
38 | (2364, 2364, 0), | |
39 | (2369, 2376, 0), | |
40 | (2381, 2381, 0), | |
41 | (2385, 2391, 0), | |
42 | (2402, 2403, 0), | |
43 | (2433, 2433, 0), | |
44 | (2492, 2492, 0), | |
45 | (2497, 2500, 0), | |
46 | (2509, 2509, 0), | |
47 | (2530, 2531, 0), | |
48 | (2558, 2558, 0), | |
49 | (2561, 2562, 0), | |
50 | (2620, 2620, 0), | |
51 | (2625, 2626, 0), | |
52 | (2631, 2632, 0), | |
53 | (2635, 2637, 0), | |
54 | (2641, 2641, 0), | |
55 | (2672, 2673, 0), | |
56 | (2677, 2677, 0), | |
57 | (2689, 2690, 0), | |
58 | (2748, 2748, 0), | |
59 | (2753, 2757, 0), | |
60 | (2759, 2760, 0), | |
61 | (2765, 2765, 0), | |
62 | (2786, 2787, 0), | |
63 | (2810, 2815, 0), | |
64 | (2817, 2817, 0), | |
65 | (2876, 2876, 0), | |
66 | (2879, 2879, 0), | |
67 | (2881, 2884, 0), | |
68 | (2893, 2893, 0), | |
69 | (2901, 2902, 0), | |
70 | (2914, 2915, 0), | |
71 | (2946, 2946, 0), | |
72 | (3008, 3008, 0), | |
73 | (3021, 3021, 0), | |
74 | (3072, 3072, 0), | |
75 | (3076, 3076, 0), | |
76 | (3132, 3132, 0), | |
77 | (3134, 3136, 0), | |
78 | (3142, 3144, 0), | |
79 | (3146, 3149, 0), | |
80 | (3157, 3158, 0), | |
81 | (3170, 3171, 0), | |
82 | (3201, 3201, 0), | |
83 | (3260, 3260, 0), | |
84 | (3263, 3263, 0), | |
85 | (3270, 3270, 0), | |
86 | (3276, 3277, 0), | |
87 | (3298, 3299, 0), | |
88 | (3328, 3329, 0), | |
89 | (3387, 3388, 0), | |
90 | (3393, 3396, 0), | |
91 | (3405, 3405, 0), | |
92 | (3426, 3427, 0), | |
93 | (3457, 3457, 0), | |
94 | (3530, 3530, 0), | |
95 | (3538, 3540, 0), | |
96 | (3542, 3542, 0), | |
97 | (3633, 3633, 0), | |
98 | (3636, 3642, 0), | |
99 | (3655, 3662, 0), | |
100 | (3761, 3761, 0), | |
101 | (3764, 3772, 0), | |
102 | (3784, 3790, 0), | |
103 | (3864, 3865, 0), | |
104 | (3893, 3893, 0), | |
105 | (3895, 3895, 0), | |
106 | (3897, 3897, 0), | |
107 | (3953, 3966, 0), | |
108 | (3968, 3972, 0), | |
109 | (3974, 3975, 0), | |
110 | (3981, 3991, 0), | |
111 | (3993, 4028, 0), | |
112 | (4038, 4038, 0), | |
113 | (4141, 4144, 0), | |
114 | (4146, 4151, 0), | |
115 | (4153, 4154, 0), | |
116 | (4157, 4158, 0), | |
117 | (4184, 4185, 0), | |
118 | (4190, 4192, 0), | |
119 | (4209, 4212, 0), | |
120 | (4226, 4226, 0), | |
121 | (4229, 4230, 0), | |
122 | (4237, 4237, 0), | |
123 | (4253, 4253, 0), | |
124 | (4352, 4447, 2), | |
125 | (4957, 4959, 0), | |
126 | (5906, 5908, 0), | |
127 | (5938, 5939, 0), | |
128 | (5970, 5971, 0), | |
129 | (6002, 6003, 0), | |
130 | (6068, 6069, 0), | |
131 | (6071, 6077, 0), | |
132 | (6086, 6086, 0), | |
133 | (6089, 6099, 0), | |
134 | (6109, 6109, 0), | |
135 | (6155, 6157, 0), | |
136 | (6159, 6159, 0), | |
137 | (6277, 6278, 0), | |
138 | (6313, 6313, 0), | |
139 | (6432, 6434, 0), | |
140 | (6439, 6440, 0), | |
141 | (6450, 6450, 0), | |
142 | (6457, 6459, 0), | |
143 | (6679, 6680, 0), | |
144 | (6683, 6683, 0), | |
145 | (6742, 6742, 0), | |
146 | (6744, 6750, 0), | |
147 | (6752, 6752, 0), | |
148 | (6754, 6754, 0), | |
149 | (6757, 6764, 0), | |
150 | (6771, 6780, 0), | |
151 | (6783, 6783, 0), | |
152 | (6832, 6862, 0), | |
153 | (6912, 6915, 0), | |
154 | (6964, 6964, 0), | |
155 | (6966, 6970, 0), | |
156 | (6972, 6972, 0), | |
157 | (6978, 6978, 0), | |
158 | (7019, 7027, 0), | |
159 | (7040, 7041, 0), | |
160 | (7074, 7077, 0), | |
161 | (7080, 7081, 0), | |
162 | (7083, 7085, 0), | |
163 | (7142, 7142, 0), | |
164 | (7144, 7145, 0), | |
165 | (7149, 7149, 0), | |
166 | (7151, 7153, 0), | |
167 | (7212, 7219, 0), | |
168 | (7222, 7223, 0), | |
169 | (7376, 7378, 0), | |
170 | (7380, 7392, 0), | |
171 | (7394, 7400, 0), | |
172 | (7405, 7405, 0), | |
173 | (7412, 7412, 0), | |
174 | (7416, 7417, 0), | |
175 | (7616, 7679, 0), | |
176 | (8203, 8207, 0), | |
177 | (8232, 8238, 0), | |
178 | (8288, 8291, 0), | |
179 | (8400, 8432, 0), | |
180 | (8986, 8987, 2), | |
181 | (9001, 9002, 2), | |
182 | (9193, 9196, 2), | |
183 | (9200, 9200, 2), | |
184 | (9203, 9203, 2), | |
185 | (9725, 9726, 2), | |
186 | (9748, 9749, 2), | |
187 | (9800, 9811, 2), | |
188 | (9855, 9855, 2), | |
189 | (9875, 9875, 2), | |
190 | (9889, 9889, 2), | |
191 | (9898, 9899, 2), | |
192 | (9917, 9918, 2), | |
193 | (9924, 9925, 2), | |
194 | (9934, 9934, 2), | |
195 | (9940, 9940, 2), | |
196 | (9962, 9962, 2), | |
197 | (9970, 9971, 2), | |
198 | (9973, 9973, 2), | |
199 | (9978, 9978, 2), | |
200 | (9981, 9981, 2), | |
201 | (9989, 9989, 2), | |
202 | (9994, 9995, 2), | |
203 | (10024, 10024, 2), | |
204 | (10060, 10060, 2), | |
205 | (10062, 10062, 2), | |
206 | (10067, 10069, 2), | |
207 | (10071, 10071, 2), | |
208 | (10133, 10135, 2), | |
209 | (10160, 10160, 2), | |
210 | (10175, 10175, 2), | |
211 | (11035, 11036, 2), | |
212 | (11088, 11088, 2), | |
213 | (11093, 11093, 2), | |
214 | (11503, 11505, 0), | |
215 | (11647, 11647, 0), | |
216 | (11744, 11775, 0), | |
217 | (11904, 11929, 2), | |
218 | (11931, 12019, 2), | |
219 | (12032, 12245, 2), | |
220 | (12272, 12283, 2), | |
221 | (12288, 12329, 2), | |
222 | (12330, 12333, 0), | |
223 | (12334, 12350, 2), | |
224 | (12353, 12438, 2), | |
225 | (12441, 12442, 0), | |
226 | (12443, 12543, 2), | |
227 | (12549, 12591, 2), | |
228 | (12593, 12686, 2), | |
229 | (12688, 12771, 2), | |
230 | (12784, 12830, 2), | |
231 | (12832, 12871, 2), | |
232 | (12880, 19903, 2), | |
233 | (19968, 42124, 2), | |
234 | (42128, 42182, 2), | |
235 | (42607, 42610, 0), | |
236 | (42612, 42621, 0), | |
237 | (42654, 42655, 0), | |
238 | (42736, 42737, 0), | |
239 | (43010, 43010, 0), | |
240 | (43014, 43014, 0), | |
241 | (43019, 43019, 0), | |
242 | (43045, 43046, 0), | |
243 | (43052, 43052, 0), | |
244 | (43204, 43205, 0), | |
245 | (43232, 43249, 0), | |
246 | (43263, 43263, 0), | |
247 | (43302, 43309, 0), | |
248 | (43335, 43345, 0), | |
249 | (43360, 43388, 2), | |
250 | (43392, 43394, 0), | |
251 | (43443, 43443, 0), | |
252 | (43446, 43449, 0), | |
253 | (43452, 43453, 0), | |
254 | (43493, 43493, 0), | |
255 | (43561, 43566, 0), | |
256 | (43569, 43570, 0), | |
257 | (43573, 43574, 0), | |
258 | (43587, 43587, 0), | |
259 | (43596, 43596, 0), | |
260 | (43644, 43644, 0), | |
261 | (43696, 43696, 0), | |
262 | (43698, 43700, 0), | |
263 | (43703, 43704, 0), | |
264 | (43710, 43711, 0), | |
265 | (43713, 43713, 0), | |
266 | (43756, 43757, 0), | |
267 | (43766, 43766, 0), | |
268 | (44005, 44005, 0), | |
269 | (44008, 44008, 0), | |
270 | (44013, 44013, 0), | |
271 | (44032, 55203, 2), | |
272 | (63744, 64255, 2), | |
273 | (64286, 64286, 0), | |
274 | (65024, 65039, 0), | |
275 | (65040, 65049, 2), | |
276 | (65056, 65071, 0), | |
277 | (65072, 65106, 2), | |
278 | (65108, 65126, 2), | |
279 | (65128, 65131, 2), | |
280 | (65281, 65376, 2), | |
281 | (65504, 65510, 2), | |
282 | (66045, 66045, 0), | |
283 | (66272, 66272, 0), | |
284 | (66422, 66426, 0), | |
285 | (68097, 68099, 0), | |
286 | (68101, 68102, 0), | |
287 | (68108, 68111, 0), | |
288 | (68152, 68154, 0), | |
289 | (68159, 68159, 0), | |
290 | (68325, 68326, 0), | |
291 | (68900, 68903, 0), | |
292 | (69291, 69292, 0), | |
293 | (69373, 69375, 0), | |
294 | (69446, 69456, 0), | |
295 | (69506, 69509, 0), | |
296 | (69633, 69633, 0), | |
297 | (69688, 69702, 0), | |
298 | (69744, 69744, 0), | |
299 | (69747, 69748, 0), | |
300 | (69759, 69761, 0), | |
301 | (69811, 69814, 0), | |
302 | (69817, 69818, 0), | |
303 | (69826, 69826, 0), | |
304 | (69888, 69890, 0), | |
305 | (69927, 69931, 0), | |
306 | (69933, 69940, 0), | |
307 | (70003, 70003, 0), | |
308 | (70016, 70017, 0), | |
309 | (70070, 70078, 0), | |
310 | (70089, 70092, 0), | |
311 | (70095, 70095, 0), | |
312 | (70191, 70193, 0), | |
313 | (70196, 70196, 0), | |
314 | (70198, 70199, 0), | |
315 | (70206, 70206, 0), | |
316 | (70209, 70209, 0), | |
317 | (70367, 70367, 0), | |
318 | (70371, 70378, 0), | |
319 | (70400, 70401, 0), | |
320 | (70459, 70460, 0), | |
321 | (70464, 70464, 0), | |
322 | (70502, 70508, 0), | |
323 | (70512, 70516, 0), | |
324 | (70712, 70719, 0), | |
325 | (70722, 70724, 0), | |
326 | (70726, 70726, 0), | |
327 | (70750, 70750, 0), | |
328 | (70835, 70840, 0), | |
329 | (70842, 70842, 0), | |
330 | (70847, 70848, 0), | |
331 | (70850, 70851, 0), | |
332 | (71090, 71093, 0), | |
333 | (71100, 71101, 0), | |
334 | (71103, 71104, 0), | |
335 | (71132, 71133, 0), | |
336 | (71219, 71226, 0), | |
337 | (71229, 71229, 0), | |
338 | (71231, 71232, 0), | |
339 | (71339, 71339, 0), | |
340 | (71341, 71341, 0), | |
341 | (71344, 71349, 0), | |
342 | (71351, 71351, 0), | |
343 | (71453, 71455, 0), | |
344 | (71458, 71461, 0), | |
345 | (71463, 71467, 0), | |
346 | (71727, 71735, 0), | |
347 | (71737, 71738, 0), | |
348 | (71995, 71996, 0), | |
349 | (71998, 71998, 0), | |
350 | (72003, 72003, 0), | |
351 | (72148, 72151, 0), | |
352 | (72154, 72155, 0), | |
353 | (72160, 72160, 0), | |
354 | (72193, 72202, 0), | |
355 | (72243, 72248, 0), | |
356 | (72251, 72254, 0), | |
357 | (72263, 72263, 0), | |
358 | (72273, 72278, 0), | |
359 | (72281, 72283, 0), | |
360 | (72330, 72342, 0), | |
361 | (72344, 72345, 0), | |
362 | (72752, 72758, 0), | |
363 | (72760, 72765, 0), | |
364 | (72767, 72767, 0), | |
365 | (72850, 72871, 0), | |
366 | (72874, 72880, 0), | |
367 | (72882, 72883, 0), | |
368 | (72885, 72886, 0), | |
369 | (73009, 73014, 0), | |
370 | (73018, 73018, 0), | |
371 | (73020, 73021, 0), | |
372 | (73023, 73029, 0), | |
373 | (73031, 73031, 0), | |
374 | (73104, 73105, 0), | |
375 | (73109, 73109, 0), | |
376 | (73111, 73111, 0), | |
377 | (73459, 73460, 0), | |
378 | (73472, 73473, 0), | |
379 | (73526, 73530, 0), | |
380 | (73536, 73536, 0), | |
381 | (73538, 73538, 0), | |
382 | (78912, 78912, 0), | |
383 | (78919, 78933, 0), | |
384 | (92912, 92916, 0), | |
385 | (92976, 92982, 0), | |
386 | (94031, 94031, 0), | |
387 | (94095, 94098, 0), | |
388 | (94176, 94179, 2), | |
389 | (94180, 94180, 0), | |
390 | (94192, 94193, 2), | |
391 | (94208, 100343, 2), | |
392 | (100352, 101589, 2), | |
393 | (101632, 101640, 2), | |
394 | (110576, 110579, 2), | |
395 | (110581, 110587, 2), | |
396 | (110589, 110590, 2), | |
397 | (110592, 110882, 2), | |
398 | (110898, 110898, 2), | |
399 | (110928, 110930, 2), | |
400 | (110933, 110933, 2), | |
401 | (110948, 110951, 2), | |
402 | (110960, 111355, 2), | |
403 | (113821, 113822, 0), | |
404 | (118528, 118573, 0), | |
405 | (118576, 118598, 0), | |
406 | (119143, 119145, 0), | |
407 | (119163, 119170, 0), | |
408 | (119173, 119179, 0), | |
409 | (119210, 119213, 0), | |
410 | (119362, 119364, 0), | |
411 | (121344, 121398, 0), | |
412 | (121403, 121452, 0), | |
413 | (121461, 121461, 0), | |
414 | (121476, 121476, 0), | |
415 | (121499, 121503, 0), | |
416 | (121505, 121519, 0), | |
417 | (122880, 122886, 0), | |
418 | (122888, 122904, 0), | |
419 | (122907, 122913, 0), | |
420 | (122915, 122916, 0), | |
421 | (122918, 122922, 0), | |
422 | (123023, 123023, 0), | |
423 | (123184, 123190, 0), | |
424 | (123566, 123566, 0), | |
425 | (123628, 123631, 0), | |
426 | (124140, 124143, 0), | |
427 | (125136, 125142, 0), | |
428 | (125252, 125258, 0), | |
429 | (126980, 126980, 2), | |
430 | (127183, 127183, 2), | |
431 | (127374, 127374, 2), | |
432 | (127377, 127386, 2), | |
433 | (127488, 127490, 2), | |
434 | (127504, 127547, 2), | |
435 | (127552, 127560, 2), | |
436 | (127568, 127569, 2), | |
437 | (127584, 127589, 2), | |
438 | (127744, 127776, 2), | |
439 | (127789, 127797, 2), | |
440 | (127799, 127868, 2), | |
441 | (127870, 127891, 2), | |
442 | (127904, 127946, 2), | |
443 | (127951, 127955, 2), | |
444 | (127968, 127984, 2), | |
445 | (127988, 127988, 2), | |
446 | (127992, 128062, 2), | |
447 | (128064, 128064, 2), | |
448 | (128066, 128252, 2), | |
449 | (128255, 128317, 2), | |
450 | (128331, 128334, 2), | |
451 | (128336, 128359, 2), | |
452 | (128378, 128378, 2), | |
453 | (128405, 128406, 2), | |
454 | (128420, 128420, 2), | |
455 | (128507, 128591, 2), | |
456 | (128640, 128709, 2), | |
457 | (128716, 128716, 2), | |
458 | (128720, 128722, 2), | |
459 | (128725, 128727, 2), | |
460 | (128732, 128735, 2), | |
461 | (128747, 128748, 2), | |
462 | (128756, 128764, 2), | |
463 | (128992, 129003, 2), | |
464 | (129008, 129008, 2), | |
465 | (129292, 129338, 2), | |
466 | (129340, 129349, 2), | |
467 | (129351, 129535, 2), | |
468 | (129648, 129660, 2), | |
469 | (129664, 129672, 2), | |
470 | (129680, 129725, 2), | |
471 | (129727, 129733, 2), | |
472 | (129742, 129755, 2), | |
473 | (129760, 129768, 2), | |
474 | (129776, 129784, 2), | |
475 | (131072, 196605, 2), | |
476 | (196608, 262141, 2), | |
477 | (917760, 917999, 0), | |
478 | ] |