diff --git a/go.mod b/go.mod index 15aa2c40abf..b56856d4787 100644 --- a/go.mod +++ b/go.mod @@ -12,7 +12,7 @@ require ( github.com/aybabtme/humanlog v0.4.1 github.com/cloudfoundry/jibber_jabber v0.0.0-20151120183258-bcc4c8345a21 github.com/creack/pty v1.1.11 - github.com/gdamore/tcell/v2 v2.13.7-0.20260111024317-4739cfe77a24 + github.com/gdamore/tcell/v2 v2.13.7 github.com/go-errors/errors v1.5.1 github.com/gookit/color v1.4.2 github.com/integrii/flaggy v1.4.0 diff --git a/go.sum b/go.sum index 8e8d9dea4c7..a370580ae51 100644 --- a/go.sum +++ b/go.sum @@ -95,8 +95,8 @@ github.com/fatih/color v1.9.0 h1:8xPHl4/q1VyqGIPif1F+1V3Y3lSmrq01EabUW3CoW5s= github.com/fatih/color v1.9.0/go.mod h1:eQcE1qtQxscV5RaZvpXrrb8Drkc3/DdQ+uUYCNjL+zU= github.com/gdamore/encoding v1.0.1 h1:YzKZckdBL6jVt2Gc+5p82qhrGiqMdG/eNs6Wy0u3Uhw= github.com/gdamore/encoding v1.0.1/go.mod h1:0Z0cMFinngz9kS1QfMjCP8TY7em3bZYeeklsSDPivEo= -github.com/gdamore/tcell/v2 v2.13.7-0.20260111024317-4739cfe77a24 h1:evl5XktHhmK3oAyAp3VcU/1NwhfQllxstUpd2m5fZUk= -github.com/gdamore/tcell/v2 v2.13.7-0.20260111024317-4739cfe77a24/go.mod h1:+Wfe208WDdB7INEtCsNrAN6O2m+wsTPk1RAovjaILlo= +github.com/gdamore/tcell/v2 v2.13.7 h1:yfHdeC7ODIYCc6dgRos8L1VujQtXHmUpU6UZotzD6os= +github.com/gdamore/tcell/v2 v2.13.7/go.mod h1:+Wfe208WDdB7INEtCsNrAN6O2m+wsTPk1RAovjaILlo= github.com/gliderlabs/ssh v0.3.8 h1:a4YXD1V7xMF9g5nTkdfnja3Sxy1PVDCj1Zg4Wb8vY6c= github.com/gliderlabs/ssh v0.3.8/go.mod h1:xYoytBv1sV0aL3CavoDuJIQNURXkkfPA/wxQ1pL1fAU= github.com/go-errors/errors v1.5.1 h1:ZwEMSLRCapFLflTpT7NKaAc7ukJ8ZPEjzlxt8rPN8bk= diff --git a/vendor/github.com/gdamore/tcell/v2/tscreen.go b/vendor/github.com/gdamore/tcell/v2/tscreen.go index f70de657420..b4dfdf96056 100644 --- a/vendor/github.com/gdamore/tcell/v2/tscreen.go +++ b/vendor/github.com/gdamore/tcell/v2/tscreen.go @@ -622,6 +622,14 @@ func (t *tScreen) drawCell(x, y int) int { width = 1 str = " " } + if width > 1 { + // Clobber over any content in the next cell. + // This fixes a problem with some terminals where overwriting two + // adjacent single cells with a wide rune would leave an image + // of the second cell. This is a workaround for buggy terminals. + t.writeString(" \b\b") + } + t.writeString(str) t.cx += width t.cells.SetDirty(x, y, false) diff --git a/vendor/modules.txt b/vendor/modules.txt index 77c9716eef5..95c8ca5d308 100644 --- a/vendor/modules.txt +++ b/vendor/modules.txt @@ -88,7 +88,7 @@ github.com/fatih/color # github.com/gdamore/encoding v1.0.1 ## explicit; go 1.9 github.com/gdamore/encoding -# github.com/gdamore/tcell/v2 v2.13.7-0.20260111024317-4739cfe77a24 +# github.com/gdamore/tcell/v2 v2.13.7 ## explicit; go 1.24.0 github.com/gdamore/tcell/v2 github.com/gdamore/tcell/v2/terminfo