-
Notifications
You must be signed in to change notification settings - Fork 158
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Table will went wrong if some chars' width is two. (如果某些字符的宽度是2, 表格将出错) #55
Comments
哈哈哈Null你跑这里来干啥[滑稽] |
还有并不是宽度是2,而是其他字符(的宽度)是ASCII字符的宽度的两倍 |
这个其实和Windows的字体渲染有点关系 |
很多软件也有这种问题 |
比如ssh(貌似是ash的问题) |
还有如果你有解决方案应该fork代码然后建立一个Pull Request |
发一个Issue基本没法解决问题 |
没办法解决就不解决了, 反正这个我用不到 |
At present, the problem is that the table will be deformed by inputting some characters |
I believe the latest release |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
English:
Clearly, if a char which width is two, this current row will move right...
Also, if you want to calculate the width of a string in the console, see this repository: Null.ConsoleEx
using namspace Null.ConsoleEx, and call this method: ConsoleEx.GetStringDisplayLength(string str);
Chinese :
下面是中文:
显然, 如果一个字符的宽度是2, 当前的这一行就会向右移动...
对了, 如果你想计算字符串在控制台中的宽度, 看看这个仓库吧: Null.ConsoleEx
using Null.ConsoleEx 命名空间, 然后调用这个方法: ConsoleEx.GetStringDisplayLength(string str);
The text was updated successfully, but these errors were encountered: