chore!: change to use v3 of Tcell (#2286)

* Remove SGR 8

* Remove `<backspace2>`

* Migrate to v3 of Tcell

* Refactor key handling functionality

* Bump Tcell version

* Replace `SetContent` API with `Put` API

* bump dependencies

* Use new color package

* Fix cursor position for grapheme clusters

* Some editing fixes to support grapheme clusters

* Ignore carriage return when printing

* Move grapheme cluster handling into misc.go

* Fix length of filenames containing emoji

* Use slices.Concat

* Use `string` instead of `[]rune` for `win.print`

* Add note about modifier limitations

* Update `CHANGELOG.md`
This commit is contained in:
Joe Lim authored and GitHub committed 2026-03-04 17:02:26 +11:00
1 parent a446855e76
commit 6ec60cf9d8
21 files changed
+558 -463

No files matched your search

+4 -4
View File
@@ -5,16 +5,16 @@ go 1.24.0
require (
github.com/djherbis/times v1.6.0
github.com/fsnotify/fsnotify v1.9.0
github.com/gdamore/tcell/v2 v2.13.8
github.com/gdamore/tcell/v3 v3.1.2
github.com/mattn/go-runewidth v0.0.20
github.com/rivo/uniseg v0.4.7
golang.org/x/sys v0.41.0
golang.org/x/term v0.40.0
)
require (
github.com/clipperhouse/uax29/v2 v2.2.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.3.0 // indirect
github.com/rivo/uniseg v0.4.7 // indirect
golang.org/x/text v0.31.0 // indirect
golang.org/x/text v0.34.0 // indirect
)