Commit Graph

4 Commits

Author SHA1 Message Date
Qi Xiao
a74ce02c45 Improve the wcwidth package.
* Make the Override function remove the override when given a negative width,
  instead of panicking.

* Make all functions concurrency-safe.

* Improve test coverage to 100%.

This addresses #1234.
2021-02-11 00:47:21 +00:00
Qi Xiao
196eea21d4 Change module import path to src.elv.sh 2021-01-27 01:30:25 +00:00
Shengjing Zhu
6c08de0ff3 Fix typos found by codespell 2020-10-10 22:47:50 +01:00
Qi Xiao
3037f6c8bf pkg/util: Move the wcwidth utilities to a new package, and add more tests.
This addresses #944.
2020-04-06 12:00:01 +01:00