]> git.lizzy.rs Git - micro.git/commitdiff
Make determining rune width faster
authorPhilipp Emanuel Weidmann <pew@worldwidemann.com>
Sat, 13 Jun 2020 03:29:17 +0000 (08:59 +0530)
committerPhilipp Emanuel Weidmann <pew@worldwidemann.com>
Sat, 13 Jun 2020 03:29:17 +0000 (08:59 +0530)
go.mod
go.sum

diff --git a/go.mod b/go.mod
index 45747fa6b546f1d05ecd4f8c7d6ecbb0da8739a5..65670344fd1a74428bcbe92896c8b9529094dd2f 100644 (file)
--- a/go.mod
+++ b/go.mod
@@ -25,4 +25,6 @@ require (
        layeh.com/gopher-luar v1.0.7
 )
 
+replace github.com/mattn/go-runewidth => github.com/p-e-w/go-runewidth v0.0.10-0.20200613030200-3e1705c5c059
+
 go 1.11
diff --git a/go.sum b/go.sum
index 1c683e4c356de395b4ce5d782c8d6566fde624e0..f721943470b79b1d3121a45eb832e310e6faa29e 100644 (file)
--- a/go.sum
+++ b/go.sum
@@ -27,6 +27,8 @@ github.com/mattn/go-runewidth v0.0.7 h1:Ei8KR0497xHyKJPAv59M1dkC+rOZCMBJ+t3fZ+tw
 github.com/mattn/go-runewidth v0.0.7/go.mod h1:H031xJmbD/WCDINGzjvQ9THkh0rPKHF+m2gUSrubnMI=
 github.com/mitchellh/go-homedir v1.1.0 h1:lukF9ziXFxDFPkA1vsr5zpc1XuPDn/wFntq5mG+4E0Y=
 github.com/mitchellh/go-homedir v1.1.0/go.mod h1:SfyaCUpYCn1Vlf4IUYiD9fPX4A5wJrkLzIz1N1q0pr0=
+github.com/p-e-w/go-runewidth v0.0.10-0.20200613030200-3e1705c5c059 h1:/+h2b6i15wh4EWsFkfdNdBE1jjGA872tpXEyhPM5aYg=
+github.com/p-e-w/go-runewidth v0.0.10-0.20200613030200-3e1705c5c059/go.mod h1:H031xJmbD/WCDINGzjvQ9THkh0rPKHF+m2gUSrubnMI=
 github.com/pmezard/go-difflib v1.0.0 h1:4DBwDE0NGyQoBHbLQYPwSUPoCMWR5BEzIk/f1lZbAQM=
 github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4=
 github.com/robertkrimen/otto v0.0.0-20191219234010-c382bd3c16ff h1:+6NUiITWwE5q1KO6SAfUX918c+Tab0+tGAM/mtdlUyA=