refactor: migrate from uniseg to displaywidth (#2559)

* migrate from uniseg to displaywidth

* use firstGraphemeCluster
This commit is contained in:
valoq authored and GitHub committed 2026-05-01 14:06:58 +10:00
1 parent 54bcbca6ce
commit a88d55e077
6 files changed
+39 -34

No files matched your search

+1 -2
View File
@@ -3,16 +3,15 @@ module github.com/gokcehan/lf
go 1.25.0
require (
github.com/clipperhouse/displaywidth v0.11.0
github.com/djherbis/times v1.6.0
github.com/fsnotify/fsnotify v1.9.0
github.com/gdamore/tcell/v3 v3.3.0
github.com/rivo/uniseg v0.4.7
golang.org/x/sys v0.43.0
golang.org/x/term v0.42.0
)
require (
github.com/clipperhouse/displaywidth v0.11.0 // indirect
github.com/clipperhouse/uax29/v2 v2.7.0 // indirect
github.com/gdamore/encoding v1.0.1 // indirect
github.com/lucasb-eyer/go-colorful v1.4.0 // indirect