This API is mainly for Terminal Emulator implementors - any
python program that attempts to determine the printable width of
a string on a Terminal. It is implemented in python (no C library
calls) and has no 3rd-party dependencies.