junegunn/uniseg -> rivo/uniseg
Before adoption: this commit came in with the history the project adopted, so no landing records it.
https://github.com/rivo/uniseg/pull/47
authored by Junegunn Choi · committed by Junegunn Choi · parent a34e8dc · Browse files · 9 files·+16 added−12 removed
This commit
State
Before adoption: this commit came in with the history the project adopted, so no landing records it.
Trailers
- https: //github.com/rivo/uniseg/pull/47
Diff stats
9 files+16 added−12 removed
- other:+16 added−12 removed
Provenance
- Commit
76cf655- Tree
5d6c983- Author
Junegunn Choi <junegunn.c@gmail.com>- Committer
Junegunn Choi <junegunn.c@gmail.com>- Parent
a34e8dc
9 files changed+16 added−12 removed
modified:src/tui/light.go+1 added-1 removed
8 unmodified lines9 "strings"10 "time"11 "unicode/utf8"12 13- "github.com/junegunn/uniseg"13+ "github.com/rivo/uniseg"14 15 "golang.org/x/term"16 )17 1105 unmodified linesmodified:src/tui/tcell.go+1 added-1 removed
8 unmodified lines9 "github.com/gdamore/tcell/v2"10 "github.com/gdamore/tcell/v2/encoding"11 "github.com/junegunn/fzf/src/util"12 13- "github.com/junegunn/uniseg"13+ "github.com/rivo/uniseg"14 )15 16 func HasFullscreenRenderer() bool {17 return true775 unmodified linesmodified:src/tui/tui.go+1 added-1 removed
4 unmodified lines5 "os"6 "strconv"7 "time"8 9- "github.com/junegunn/uniseg"9+ "github.com/rivo/uniseg"10 )11 12 // Types of user action13 type EventType int808 unmodified linesmodified:src/util/util.go+1 added-1 removed
4 unmodified lines5 "os"6 "strings"7 "time"8 9- "github.com/junegunn/uniseg"9 "github.com/mattn/go-isatty"10+ "github.com/rivo/uniseg"11 )12 13 // StringWidth returns string width where each CR/LF character takes 1 column14 func StringWidth(s string) int {164 unmodified linesmodified:src/options.go+1 added-1 removed
9 unmodified lines10 11 "github.com/junegunn/fzf/src/algo"12 "github.com/junegunn/fzf/src/tui"13 "github.com/junegunn/fzf/src/util"14- "github.com/junegunn/uniseg"14 15 "github.com/mattn/go-shellwords"16+ "github.com/rivo/uniseg"17 )18 19 const usage = `usage: fzf [options]20 2161 unmodified linesmodified:src/terminal.go+1 added-1 removed
15 unmodified lines16 "sync"17 "syscall"18 "time"19 20- "github.com/junegunn/uniseg"20+ "github.com/rivo/uniseg"21 22 "github.com/junegunn/fzf/src/tui"23 "github.com/junegunn/fzf/src/util"24 )4173 unmodified linesmodified:CHANGELOG.md+7 added
1 CHANGELOG2 =========3 4+0.46.15+------6+- Fixed Windows binaries7+- Downgraded Go version to 1.20 to support older versions of Windows8+ - https://tip.golang.org/doc/go1.21#windows9+- Updated [rivo/uniseg](https://github.com/rivo/uniseg) dependency to v0.4.510+11 0.46.012 ------13 - Added two new events14 - `result` - triggered when the filtering for the current query is complete and the result list is ready1852 unmodified linesmodified:go.mod+1 added-2 removed
1 module github.com/junegunn/fzf2 3 require (4 github.com/gdamore/tcell/v2 v2.5.45- github.com/junegunn/uniseg v0.0.0-20240120174029-b504da4f6ed25 github.com/mattn/go-isatty v0.0.176 github.com/mattn/go-shellwords v1.0.127+ github.com/rivo/uniseg v0.4.58 github.com/saracen/walker v0.1.39 golang.org/x/sys v0.16.010 golang.org/x/term v0.16.011 )1 unmodified line13 require (14 github.com/gdamore/encoding v1.0.0 // indirect15 github.com/lucasb-eyer/go-colorful v1.2.0 // indirect16 github.com/mattn/go-runewidth v0.0.14 // indirect17- github.com/rivo/uniseg v0.4.4 // indirect17 golang.org/x/sync v0.5.0 // indirect18 golang.org/x/text v0.5.0 // indirect19 )20 1 unmodified linemodified:go.sum+2 added-4 removed
1 github.com/gdamore/encoding v1.0.0 h1:+7OoQ1Bc6eTm5niUzBa0Ctsh6JbMW6Ra+YNuAtDBdko=2 github.com/gdamore/encoding v1.0.0/go.mod h1:alR0ol34c49FCSBLjhosxzcPHQbf2trDkoo5dl+VrEg=3 github.com/gdamore/tcell/v2 v2.5.4 h1:TGU4tSjD3sCL788vFNeJnTdzpNKIw1H5dgLnJRQVv/k=4 github.com/gdamore/tcell/v2 v2.5.4/go.mod h1:dZgRy5v4iMobMEcWNYBtREnDZAT9DYmfqIkrgEMxLyw=5-github.com/junegunn/uniseg v0.0.0-20240120174029-b504da4f6ed2 h1:oEwPBh29BPu1MaTsz2dM9bDrkOgKBoYFC0u6uY2izWo=6-github.com/junegunn/uniseg v0.0.0-20240120174029-b504da4f6ed2/go.mod h1:ywqF55XaSE3/uS2tkJqVFKiE0oIYAXRvU2N7DU4y3XQ=5 github.com/lucasb-eyer/go-colorful v1.2.0 h1:1nnpGOrhyZZuNyfu1QjKiUICQ74+3FNCN69Aj6K7nkY=6 github.com/lucasb-eyer/go-colorful v1.2.0/go.mod h1:R4dSotOR9KMtayYi1e77YzuveK+i7ruzyGqttikkLy0=7 github.com/mattn/go-isatty v0.0.17 h1:BTarxUcIeDqL27Mc+vyvdWYSL28zpIhv3RoTdsLMPng=8 github.com/mattn/go-isatty v0.0.17/go.mod h1:kYGgaQfpe5nmfYZH+SKPsOc2e4SrIfOl2e/yFXSvRLM=1 unmodified line10 github.com/mattn/go-runewidth v0.0.14/go.mod h1:Jdepj2loyihRzMpdS35Xk/zdY8IAYHsh153qUoGf23w=11 github.com/mattn/go-shellwords v1.0.12 h1:M2zGm7EW6UQJvDeQxo4T51eKPurbeFbe8WtebGE2xrk=12 github.com/mattn/go-shellwords v1.0.12/go.mod h1:EZzvwXDESEeg03EKmM+RmDnNOPKG4lLtQsUlTZDWQ8Y=13 github.com/rivo/uniseg v0.2.0/go.mod h1:J6wj4VEh+S6ZtnVlnTBMWIodfgj8LQOQFoIToxlJtxc=16-github.com/rivo/uniseg v0.4.4 h1:8TfxU8dW6PdqD27gjM8MVNuicgxIjxpm4K7x4jp8sis=17-github.com/rivo/uniseg v0.4.4/go.mod h1:FN3SvrM+Zdj16jyLfmOkMNblXMcoc8DfTHruCPUcx88=14+github.com/rivo/uniseg v0.4.5 h1:I1LlsYBcfG4ggKsNaL6bi8pL7Z8SizVPVBrh3Y8F/BA=15+github.com/rivo/uniseg v0.4.5/go.mod h1:FN3SvrM+Zdj16jyLfmOkMNblXMcoc8DfTHruCPUcx88=16 github.com/saracen/walker v0.1.3 h1:YtcKKmpRPy6XJTHJ75J2QYXXZYWnZNQxPCVqZSHVV/g=17 github.com/saracen/walker v0.1.3/go.mod h1:FU+7qU8DeQQgSZDmmThMJi93kPkLFgy0oVAcLxurjIk=18 github.com/yuin/goldmark v1.4.13/go.mod h1:6yULJ656Px+3vBD8DxQVa3kxgyrAnzto9xy5taEt/CY=19 golang.org/x/crypto v0.0.0-20190308221718-c2843e01d9a2/go.mod h1:djNgcEr1/C05ACkg1iLfiJU5Ep61QUkGW8qpdssI0+w=31 unmodified lines