[GH-ISSUE #538] box.go:271:31: b.borderStyle.Attributes undefined #393

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

Originally created by @soease on GitHub (Dec 15, 2020).
Original GitHub issue: https://github.com/rivo/tview/issues/538

github.com/rivo/tview
../../box.go:271:31: b.borderStyle.Attributes undefined (type tcell.Style has no field or method Attributes)
../../table.go:889:138: tcell.StyleDefault.Foreground(cell.Color).Attributes undefined (type tcell.Style has no field or method Attributes)
../../table.go:958:49: style.Background(bg).Foreground(fg).Attributes undefined (type tcell.Style has no field or method Attributes)

Originally created by @soease on GitHub (Dec 15, 2020). Original GitHub issue: https://github.com/rivo/tview/issues/538 github.com/rivo/tview ../../box.go:271:31: b.borderStyle.Attributes undefined (type tcell.Style has no field or method Attributes) ../../table.go:889:138: tcell.StyleDefault.Foreground(cell.Color).Attributes undefined (type tcell.Style has no field or method Attributes) ../../table.go:958:49: style.Background(bg).Foreground(fg).Attributes undefined (type tcell.Style has no field or method Attributes)
kerem closed this issue 2026-03-04 01:04:35 +03:00
Author
Owner

@tslocum commented on GitHub (Dec 15, 2020):

You are importing github.com/gdamore/tcell in your project rather than github.com/gdamore/tcell/v2, or you need to upgrade tcell to the latest version.

<!-- gh-comment-id:745090792 --> @tslocum commented on GitHub (Dec 15, 2020): You are importing `github.com/gdamore/tcell` in your project rather than `github.com/gdamore/tcell/v2`, or you need to upgrade `tcell` to the latest version.
Author
Owner

@rivo commented on GitHub (Jan 11, 2021):

Please open a new issue and reference this one if this issue still persists.

<!-- gh-comment-id:758020986 --> @rivo commented on GitHub (Jan 11, 2021): Please open a new issue and reference this one if this issue still persists.
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#393
No description provided.