From fe5cf58941189cdba3f1af4b1e8dd768e7e585e3 Mon Sep 17 00:00:00 2001 From: Trevor Slocum Date: Mon, 11 Jan 2021 14:20:10 -0800 Subject: [PATCH] Update dependency runewidth --- go.mod | 2 +- go.sum | 3 +++ util.go | 3 --- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/go.mod b/go.mod index 5adda8e..73b40ad 100644 --- a/go.mod +++ b/go.mod @@ -5,7 +5,7 @@ go 1.12 require ( github.com/gdamore/tcell/v2 v2.1.1-0.20201225194624-29bb185874fd github.com/lucasb-eyer/go-colorful v1.0.3 - github.com/mattn/go-runewidth v0.0.9 + github.com/mattn/go-runewidth v0.0.10 github.com/rivo/uniseg v0.2.0 gitlab.com/tslocum/cbind v0.1.4 golang.org/x/sys v0.0.0-20210110051926-789bb1bd4061 // indirect diff --git a/go.sum b/go.sum index f1735cb..233ceb5 100644 --- a/go.sum +++ b/go.sum @@ -8,6 +8,9 @@ github.com/lucasb-eyer/go-colorful v1.0.3/go.mod h1:R4dSotOR9KMtayYi1e77YzuveK+i github.com/mattn/go-runewidth v0.0.7/go.mod h1:H031xJmbD/WCDINGzjvQ9THkh0rPKHF+m2gUSrubnMI= github.com/mattn/go-runewidth v0.0.9 h1:Lm995f3rfxdpd6TSmuVCHVb/QhupuXlYr8sCI/QdE+0= github.com/mattn/go-runewidth v0.0.9/go.mod h1:H031xJmbD/WCDINGzjvQ9THkh0rPKHF+m2gUSrubnMI= +github.com/mattn/go-runewidth v0.0.10 h1:CoZ3S2P7pvtP45xOtBw+/mDL2z0RKI576gSkzRRpdGg= +github.com/mattn/go-runewidth v0.0.10/go.mod h1:RAqKPSqVFrSLVXbA8x7dzmKdmGzieGRCM46jaSJTDAk= +github.com/rivo/uniseg v0.1.0/go.mod h1:J6wj4VEh+S6ZtnVlnTBMWIodfgj8LQOQFoIToxlJtxc= github.com/rivo/uniseg v0.2.0 h1:S1pD9weZBuJdFmowNwbpi7BJ8TNftyUImj/0WQi72jY= github.com/rivo/uniseg v0.2.0/go.mod h1:J6wj4VEh+S6ZtnVlnTBMWIodfgj8LQOQFoIToxlJtxc= gitlab.com/tslocum/cbind v0.1.4 h1:cbZXPPcieXspk8cShoT6efz7HAT8yMNQcofYWNizis4= diff --git a/util.go b/util.go index 6d7423e..ed87103 100644 --- a/util.go +++ b/util.go @@ -72,9 +72,6 @@ const ( func init() { runewidth.EastAsianWidth = true - // We'll use zero width joiners. - runewidth.ZeroWidthJoiner = true - // Initialize the predefined input field handlers. InputFieldInteger = func(text string, ch rune) bool { if text == "-" {