[GH-ISSUE #501] Issue: Error go get'ing tview #364

Closed
opened 2026-03-04 01:04:21 +03:00 by kerem · 2 comments
Owner

Originally created by @J-M1 on GitHub (Sep 16, 2020).
Original GitHub issue: https://github.com/rivo/tview/issues/501

As of 16/09/2020

# github.com/rivo/tview ..\..\go\src\github.com\rivo\tview\box.go:343:63: cannot convert b.borderAttributes (type tcell.AttrMask) to type tcell.Style ..\..\go\src\github.com\rivo\tview\table.go:331:108: cannot convert attributes (type tcell.AttrMask) to type tcell.Style ..\..\go\src\github.com\rivo\tview\table.go:888:150: cannot convert cell.Attributes (type tcell.AttrMask) to type tcell.Style ..\..\go\src\github.com\rivo\tview\table.go:957:63: cannot convert a (type tcell.AttrMask) to type tcell.Style ..\..\go\src\github.com\rivo\tview\table.go:1020:24: invalid operation: t.selectedStyle != 0 (mismatched types tcell.Style and int)

To reproduce, go get github.com/rivo/tview

Originally created by @J-M1 on GitHub (Sep 16, 2020). Original GitHub issue: https://github.com/rivo/tview/issues/501 As of 16/09/2020 `# github.com/rivo/tview ..\..\go\src\github.com\rivo\tview\box.go:343:63: cannot convert b.borderAttributes (type tcell.AttrMask) to type tcell.Style ..\..\go\src\github.com\rivo\tview\table.go:331:108: cannot convert attributes (type tcell.AttrMask) to type tcell.Style ..\..\go\src\github.com\rivo\tview\table.go:888:150: cannot convert cell.Attributes (type tcell.AttrMask) to type tcell.Style ..\..\go\src\github.com\rivo\tview\table.go:957:63: cannot convert a (type tcell.AttrMask) to type tcell.Style ..\..\go\src\github.com\rivo\tview\table.go:1020:24: invalid operation: t.selectedStyle != 0 (mismatched types tcell.Style and int)` To reproduce, `go get github.com/rivo/tview`
kerem closed this issue 2026-03-04 01:04:21 +03:00
Author
Owner

@airborneastro commented on GitHub (Sep 17, 2020):

A look at (solved) issue #492 solved it for me (go mod init my/module_name)

<!-- gh-comment-id:694142364 --> @airborneastro commented on GitHub (Sep 17, 2020): A look at (solved) issue #492 solved it for me (go mod init my/module_name)
Author
Owner

@J-M1 commented on GitHub (Sep 27, 2020):

A look at (solved) issue #492 solved it for me (go mod init my/module_name)

Fixes the issue. Cheers!

<!-- gh-comment-id:699626899 --> @J-M1 commented on GitHub (Sep 27, 2020): > A look at (solved) issue #492 solved it for me (go mod init my/module_name) Fixes the issue. Cheers!
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/tview#364
No description provided.