mirror of
https://github.com/rivo/tview.git
synced 2026-04-26 21:35:54 +03:00
[GH-ISSUE #205] undefined: runewidth.ZeroWidthJoiner #160
Labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/tview#160
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @prologic on GitHub (Dec 15, 2018).
Original GitHub issue: https://github.com/rivo/tview/issues/205
I belive something you are depending on has changed and broken compat somehow
#189 did seem similar at first but I'm not sure it's the same issue?
@prologic commented on GitHub (Dec 15, 2018):
@rivo commented on GitHub (Dec 16, 2018):
It certainly looks like the same issue as #189. The latest version of
mattn/runewidthhasZeroWidthJoinerdefined, see here. Looks like it's not in v0.0.3 yet, though.If you upgrade
runewidthto the latest commit, it should work.On another note, as mentioned elsewhere already, I will introduce modules and versioning when Go v1.12 is out. But in this case, since @mattn hasn't tagged the latest version yet, if I wanted to use tags instead of commit hashes, I'd have to wait quite long to incorporate his change into my package. People have asked for version numbers quite often here but what it likely comes down to is that many users will have outdated versions of the package.
Anyway, my comment is not related to this issue so you can ignore it. ;-)
Let me know if you could get it to work.
@prologic commented on GitHub (Dec 16, 2018):
Yeah I'm actually using
go modhere myself and have already "tried"upgrading the mentioned dep to no avail. I haven't dug any further atm.
James Mills / prologic
E: prologic@shortcircuit.net.au
W: prologic.shortcircuit.net.au
On Sun, Dec 16, 2018 at 10:03 PM rivo notifications@github.com wrote:
@mattn commented on GitHub (Dec 16, 2018):
I tagged v0.0.4 just now.
@prologic commented on GitHub (Dec 16, 2018):
Thanks I'll give it a whirl soon!
James Mills / prologic
E: prologic@shortcircuit.net.au
W: prologic.shortcircuit.net.au
On Sun, Dec 16, 2018 at 11:46 PM mattn notifications@github.com wrote:
@uchobby commented on GitHub (Jul 8, 2019):
Just tried to "go get" and got the error. looks like it's not fixed. What can I do?
C:\Users<username>\go\src\github.com\gdamore\tcell_demos>go get github.com/rivo/tview
github.com/rivo/tview
......\rivo\tview\util.go:56:2: undefined: runewidth.ZeroWidthJoiner
@rivo commented on GitHub (Jul 10, 2019):
@uchobby, are you using go modules?
tview'sgo.modfile specifies0.0.4formattn/go-runewidthwhich should include theZeroWidthJoinervariable. Make sure that you're using that version.