Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
kernel: Fix broken wcwidth for wide chars
On OSs with old libc, the wcwidth will return -1 for most/all emoji characters even if they are known to be wide characters. So we add a check that if -1 is returned for something that is known to be wide, we return 2 in size instead of 0.
- Loading branch information