Handle Ambiguous Width characters
masterSome Unicode characters have "East Asian Ambiguous" (A) width. They may be displayed as 1 cell (Western) or 2 cells (CJK).
By default, wcwidth treats these as narrow (width 1). To treat them as double-width, pass ambiguous_width=2 to any width-measuring function (e.g., wcwidth(), wcswidth(), width(), ljust(), rjust(), center(), wrap(), or clip()).
import wcwidth
# CIRCLED DIGIT ONE - ambiguous width
wcwidth.width('\u2460') # returns 1
wcwidth.width('\u2460', ambiguous_width=2) # returns 2