mirror of
https://github.com/erkin/ponysay.git
synced 2024-11-22 04:27:58 +01:00
add fullwidth CJK chars
This commit is contained in:
parent
02c3a69cf1
commit
18a18ca22b
1 changed files with 1 additions and 1 deletions
|
@ -459,7 +459,7 @@ class Backend():
|
||||||
i += 1
|
i += 1
|
||||||
if not UCS.isCombining(c):
|
if not UCS.isCombining(c):
|
||||||
rc += 1
|
rc += 1
|
||||||
if unicodedata.east_asian_width(c) in ('W', 'A'):
|
if unicodedata.east_asian_width(c) in ('F', 'W', 'A'):
|
||||||
rc += 1
|
rc += 1
|
||||||
return rc
|
return rc
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue