Add proper support for double width characters to legacy mode and few related formatting functions
This commit is contained in:
parent
415bc22dd9
commit
a2c347a79c
|
@ -230,4 +230,4 @@ def pad_string(string, length, character=" ", side="right"):
|
|||
if side == "left":
|
||||
return "%s%s" % (character * diff, string)
|
||||
elif side == "right":
|
||||
return "%s%s" % (string, character * diff)
|
||||
return "%s%s" % (string, character * diff)
|
Loading…
Reference in New Issue