[GH-ISSUE #2] "terminal entry not found" error using Termite #2

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

Originally created by @judah-caruso on GitHub (Jan 9, 2018).
Original GitHub issue: https://github.com/rivo/tview/issues/2

Running any tview project with Termite gives a "terminal entry not found" error.

I ran the box example:


import "github.com/rivo/tview"

func main() {
	box := tview.NewBox().
		SetBorder(true).
		SetTitle("Box Demo")
	if err := tview.NewApplication().SetRoot(box, true).Run(); err != nil {
		panic(err)
	}
}

This is the output in Termite:

panic: terminal entry not found

goroutine 1 [running]:
main.main()
	/home/shift/dev/go/2proj/main.go:12 +0x22d
exit status 2

The project runs fine in other Terminals like XTerm.

Originally created by @judah-caruso on GitHub (Jan 9, 2018). Original GitHub issue: https://github.com/rivo/tview/issues/2 Running any tview project with Termite gives a "terminal entry not found" error. I ran the box example: ```package main import "github.com/rivo/tview" func main() { box := tview.NewBox(). SetBorder(true). SetTitle("Box Demo") if err := tview.NewApplication().SetRoot(box, true).Run(); err != nil { panic(err) } } ``` This is the output in Termite: ``` panic: terminal entry not found goroutine 1 [running]: main.main() /home/shift/dev/go/2proj/main.go:12 +0x22d exit status 2 ``` The project runs fine in other Terminals like XTerm.
kerem closed this issue 2026-03-04 01:01:01 +03:00
Author
Owner

@judah-caruso commented on GitHub (Jan 9, 2018):

Woooops! Turns out it's my fault. I needed to set my terminal to "xterm-256color".

<!-- gh-comment-id:356416765 --> @judah-caruso commented on GitHub (Jan 9, 2018): Woooops! Turns out it's my fault. I needed to set my terminal to "xterm-256color".
Author
Owner

@rivo commented on GitHub (Jan 10, 2018):

Glad you were able to solve it!

<!-- gh-comment-id:356527999 --> @rivo commented on GitHub (Jan 10, 2018): Glad you were able to solve it!
Author
Owner

@tidux commented on GitHub (Nov 12, 2018):

This is actually not a fix. TERM=xterm-termite is a perfectly valid setting if you have the corresponding terminfo file installed. Is there some reason tview doesn't use the terminfo database?

<!-- gh-comment-id:437762344 --> @tidux commented on GitHub (Nov 12, 2018): This is actually not a fix. `TERM=xterm-termite` is a perfectly valid setting if you have the corresponding terminfo file installed. Is there some reason tview doesn't use the terminfo database?
Author
Owner

@rivo commented on GitHub (Nov 12, 2018):

You'll want to post this issue over at tcell. That's the terminal library tview uses, that also handles these settings.

<!-- gh-comment-id:437879510 --> @rivo commented on GitHub (Nov 12, 2018): You'll want to post this issue over at [`tcell`](https://github.com/gdamore/tcell/). That's the terminal library `tview` uses, that also handles these settings.
Author
Owner

@tidux commented on GitHub (Nov 12, 2018):

Looks like that should have been merged recently:

https://github.com/gdamore/tcell/pull/224

<!-- gh-comment-id:437958573 --> @tidux commented on GitHub (Nov 12, 2018): Looks like that should have been merged recently: https://github.com/gdamore/tcell/pull/224
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#2
No description provided.