Make wide-characters display correctly in other terminals.
- Was only working kitty. Now tested working in xterm, gnome-terminal and alacritty. - Use the standard zero width space not some other character with zero width.
This commit is contained in:
parent
c91beda9b4
commit
4ca4d3a2ba
1 changed files with 1 additions and 1 deletions
|
|
@ -131,7 +131,7 @@ def _join_lists(lists):
|
|||
return list(itertools.chain.from_iterable(lists))
|
||||
|
||||
|
||||
_ZERO_WIDTH_SPACE = chr(0x00ad)
|
||||
_ZERO_WIDTH_SPACE = "\u200b"
|
||||
|
||||
|
||||
def _pad_wide_chars(str_):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue