Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Switch from len to utf8.RuneCountInString
We need the literal number of spaces a command *is* taking up, as opposed to the width of its unicode character, or the width that it *should* take up on the screen. E.g. The smiley emoji, described by the 3 bytes [0xE2 0x98 0xBA] takes up 2 columns on the screen, but only occupies 1 column, as seen below 1234567 ###☺###
- Loading branch information