* include wchar.h * replace hand-rolled width detection with wcswidth. * pad with space if we end up halfway into a character at the start of a line. WARNING: Still not safe.