Remove 'replace' directive for 'go install' compatibility
Before adoption: this commit came in with the history the project adopted, so no landing records it.
Close #3577
authored by Junegunn Choi · committed by Junegunn Choi · parent 945c1c8 · Browse files · 7 files·+12 added−10 removed
This commit
State
Before adoption: this commit came in with the history the project adopted, so no landing records it.
Diff stats
7 files+12 added−10 removed
- other:+12 added−10 removed
Provenance
- Commit
1a9ea6f- Tree
723a494- Author
Junegunn Choi <junegunn.c@gmail.com>- Committer
Junegunn Choi <junegunn.c@gmail.com>- Parent
945c1c8
7 files changed+12 added−10 removed
modified:src/tui/light.go+1 added-1 removed
8 unmodified lines9 "strings"10 "time"11 "unicode/utf8"12 13- "github.com/mattn/go-runewidth"13+ "github.com/junegunn/go-runewidth"14 "github.com/rivo/uniseg"15 16 "golang.org/x/term"17 )1102 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/mattn/go-runewidth"13+ "github.com/junegunn/go-runewidth"14 "github.com/rivo/uniseg"15 )16 17 func HasFullscreenRenderer() bool {772 unmodified linesmodified:src/util/util.go+1 added-1 removed
4 unmodified lines5 "os"6 "strings"7 "time"8 9+ "github.com/junegunn/go-runewidth"10 "github.com/mattn/go-isatty"10- "github.com/mattn/go-runewidth"11 "github.com/rivo/uniseg"12 )13 14 // StringWidth returns string width where each CR/LF character takes 1 column165 unmodified linesmodified:src/options.go+1 added-1 removed
10 unmodified lines11 "github.com/junegunn/fzf/src/algo"12 "github.com/junegunn/fzf/src/tui"13 "github.com/junegunn/fzf/src/util"14 15- "github.com/mattn/go-runewidth"15+ "github.com/junegunn/go-runewidth"16 "github.com/mattn/go-shellwords"17 )18 19 const usage = `usage: fzf [options]2160 unmodified linesmodified:src/terminal.go+1 added-1 removed
15 unmodified lines16 "sync"17 "syscall"18 "time"19 20- "github.com/mattn/go-runewidth"20+ "github.com/junegunn/go-runewidth"21 "github.com/rivo/uniseg"22 23 "github.com/junegunn/fzf/src/tui"24 "github.com/junegunn/fzf/src/util"4143 unmodified linesmodified:go.mod+2 added-3 removed
1 module github.com/junegunn/fzf2 3 require (4 github.com/gdamore/tcell/v2 v2.5.45+ github.com/junegunn/go-runewidth v0.0.0-20240114080738-1b95d8d53ad86 github.com/mattn/go-isatty v0.0.176- github.com/mattn/go-runewidth v0.0.147 github.com/mattn/go-shellwords v1.0.128 github.com/rivo/uniseg v0.4.49 github.com/saracen/walker v0.1.310 golang.org/x/sys v0.16.011 golang.org/x/term v0.16.012 )13 14-replace github.com/mattn/go-runewidth => github.com/junegunn/go-runewidth v0.0.0-20240107035126-7bd7c14af5de15-14 require (15 github.com/gdamore/encoding v1.0.0 // indirect16 github.com/lucasb-eyer/go-colorful v1.2.0 // indirect17+ github.com/mattn/go-runewidth v0.0.14 // indirect18 golang.org/x/sync v0.5.0 // indirect19 golang.org/x/text v0.5.0 // indirect20 )21 1 unmodified linemodified:go.sum+5 added-2 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/go-runewidth v0.0.0-20240107035126-7bd7c14af5de h1:k3C1QnSBeTR/UiQXAd/pa3+Q9qBLWMbYGSbGY9rQLNY=6-github.com/junegunn/go-runewidth v0.0.0-20240107035126-7bd7c14af5de/go.mod h1:0UHkAM+54N73YUsApYbo/TCY6NqlFO1u6TtHSaweqb4=5+github.com/junegunn/go-runewidth v0.0.0-20240114080738-1b95d8d53ad8 h1:qcSgFcU7GG0oYYbUzJJvv2AcJRPzjVZLwrL4ZahMpOw=6+github.com/junegunn/go-runewidth v0.0.0-20240114080738-1b95d8d53ad8/go.mod h1:Mq6NazeZhIIQPMFoInCi35AktcN/MuW2elHsDK5N52w=7 github.com/lucasb-eyer/go-colorful v1.2.0 h1:1nnpGOrhyZZuNyfu1QjKiUICQ74+3FNCN69Aj6K7nkY=8 github.com/lucasb-eyer/go-colorful v1.2.0/go.mod h1:R4dSotOR9KMtayYi1e77YzuveK+i7ruzyGqttikkLy0=9 github.com/mattn/go-isatty v0.0.17 h1:BTarxUcIeDqL27Mc+vyvdWYSL28zpIhv3RoTdsLMPng=10 github.com/mattn/go-isatty v0.0.17/go.mod h1:kYGgaQfpe5nmfYZH+SKPsOc2e4SrIfOl2e/yFXSvRLM=11+github.com/mattn/go-runewidth v0.0.14 h1:+xnbZSEeDbOIg5/mE6JF0w6n9duR1l3/WmbinWVwUuU=12+github.com/mattn/go-runewidth v0.0.14/go.mod h1:Jdepj2loyihRzMpdS35Xk/zdY8IAYHsh153qUoGf23w=13 github.com/mattn/go-shellwords v1.0.12 h1:M2zGm7EW6UQJvDeQxo4T51eKPurbeFbe8WtebGE2xrk=14 github.com/mattn/go-shellwords v1.0.12/go.mod h1:EZzvwXDESEeg03EKmM+RmDnNOPKG4lLtQsUlTZDWQ8Y=15+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=18 github.com/saracen/walker v0.1.3 h1:YtcKKmpRPy6XJTHJ75J2QYXXZYWnZNQxPCVqZSHVV/g=19 github.com/saracen/walker v0.1.3/go.mod h1:FU+7qU8DeQQgSZDmmThMJi93kPkLFgy0oVAcLxurjIk=33 unmodified lines