[GH-ISSUE #818] undefined: tcell.LookupTerminfo #596

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

Originally created by @rmasci on GitHub (Feb 28, 2023).
Original GitHub issue: https://github.com/rivo/tview/issues/818

So, I don't understand this at all. I didn't make any changes, just went in to recompile an application that uses tview -- and bam. doesn't work, and I get this error. I have no idea what went wrong, and I was hoping ya'll might know.

github.com/rivo/tview/util.go:82:21: undefined: tcell.LookupTerminfo

Thanks!!

Originally created by @rmasci on GitHub (Feb 28, 2023). Original GitHub issue: https://github.com/rivo/tview/issues/818 So, I don't understand this at all. I didn't make any changes, just went in to recompile an application that uses tview -- and bam. doesn't work, and I get this error. I have no idea what went wrong, and I was hoping ya'll might know. github.com/rivo/tview/util.go:82:21: undefined: tcell.LookupTerminfo Thanks!!
kerem closed this issue 2026-03-04 01:06:20 +03:00
Author
Owner

@rivo commented on GitHub (Mar 1, 2023):

tcell.LookupTerminfo is a function defined in the github.com/gdamore/tcell package. It sounds like there is some issue with your application's go.mod maybe. It's hard to say without more information. In any case, the version for tcell should be v2.6.0.

<!-- gh-comment-id:1450370387 --> @rivo commented on GitHub (Mar 1, 2023): `tcell.LookupTerminfo` is a function defined in the [github.com/gdamore/tcell](https://github.com/gdamore/tcell) package. It sounds like there is some issue with your application's `go.mod` maybe. It's hard to say without more information. In any case, the version for `tcell` should be `v2.6.0`.
Author
Owner

@rmasci commented on GitHub (Mar 2, 2023):

Thank you -- I have seen go.mod do some weird stuff. This was one of them. I couldn't figure it out, and really that part of the code was pretty old, and nobody used it anyway so ... I just removed it. My other tview stuff works great tho!

<!-- gh-comment-id:1452491917 --> @rmasci commented on GitHub (Mar 2, 2023): Thank you -- I have seen go.mod do some weird stuff. This was one of them. I couldn't figure it out, and really that part of the code was pretty old, and nobody used it anyway so ... I just removed it. My other tview stuff works great tho!
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#596
No description provided.