Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/bowbahdoe/wcwidth
Pure Java wcwidth impl taken from JLine.
https://github.com/bowbahdoe/wcwidth
Last synced: 7 days ago
JSON representation
Pure Java wcwidth impl taken from JLine.
- Host: GitHub
- URL: https://github.com/bowbahdoe/wcwidth
- Owner: bowbahdoe
- License: other
- Created: 2024-04-13T03:42:31.000Z (7 months ago)
- Default Branch: main
- Last Pushed: 2024-04-17T15:39:53.000Z (7 months ago)
- Last Synced: 2024-04-17T16:49:51.288Z (7 months ago)
- Language: Java
- Size: 75.2 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
Awesome Lists containing this project
README
# wcwidth
This is a port of the C [wcwidth](https://man7.org/linux/man-pages/man3/wcwidth.3.html) function in pure
Java. The code is taken from JLine.While I am publishing this as a library, you might also consider just shading the utility into your own project.
You can find examples of similar utilities in other libraries
- [Example 1](https://docs.oracle.com/en/graalvm/jdk/21/sdk/org/graalvm/shadowed/org/jline/utils/WCWidth.html)
- [Example 2](https://github.com/termd/termd/blob/master/src/main/java/io/termd/core/util/Wcwidth.java)## Dependency Information
### Maven
```xmldev.mccue
wcwidth
2024.05.17```