minor, speed up terms(1) by combining mb_class() and mb_width()

Signed-off-by: Sebastian Freundt <freundt@ga-group.nl>
Merge branch 'cmd/terms'

* cmd/terms:
  minor, speed up terms(1) by combining mb_class() and mb_width()