forked from Mirror/GodMode9
Makes it more clear why all of the buffers are being multiplied by 4 Fix UTF-8 bytesize macro Before UTF_BUFFER_BYTESIZE(str_width - 10)] would multiply the 10, not the whole number, by UTF_MAX_BYTES_PER_RUNE Do (rune_count + 1) * 4 in UTF-8 bytesize macro Fix Resize/Truncate String snprintf size Before it would break if the last character was multi-byte