Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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.

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
```xml

dev.mccue
wcwidth
2024.05.17

```