You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
File that contains unicode characters breaks the output layout.
It seems that bat regards the all input characters as single-width letter. However, if some line contains multiple-width character, the number of characters and the true width of line is different. That makes the bat split the line string at wrong position.
🐛 Bug Report
Description
File that contains unicode characters breaks the output layout.
It seems that
bat
regards the all input characters as single-width letter. However, if some line contains multiple-width character, the number of characters and the true width of line is different. That makes thebat
split the line string at wrong position.Example
Possible Solution
Maybe unicode-width crate could solve this problem.
Environment
The text was updated successfully, but these errors were encountered: