fmt: switch to char.width() method
Merge pull request #356 from kwantam/master

fmt: switch to char.width() method