Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

termbox isn't maintained anymore and is causing a panic error #84

Open
zapashcanon opened this issue Dec 16, 2020 · 2 comments
Open

termbox isn't maintained anymore and is causing a panic error #84

zapashcanon opened this issue Dec 16, 2020 · 2 comments

Comments

@zapashcanon
Copy link

zapashcanon commented Dec 16, 2020

Hi,

When running slit on any file with a recent alacritty:

panic: termbox: error while reading terminfo data: termbox: unsupported terminal

goroutine 1 [running]:
github.com/tigrawap/slit.(*viewer).termGui(0xc00000c1e0)
	/home/zapashcanon/.local/bin/go/src/github.com/tigrawap/slit/term.go:478 +0xa14
github.com/tigrawap/slit.(*Slit).Display(0xc000072410)
	/home/zapashcanon/.local/bin/go/src/github.com/tigrawap/slit/slit.go:109 +0x12f
main.main()
	/home/zapashcanon/.local/bin/go/src/github.com/tigrawap/slit/cmd/slit/main.go:96 +0x5f2

See this similar issue for some workarounds. :-)

@tigrawap
Copy link
Owner

I don't mind switching to fork, but on my osx machine it works fine with alacrity, and I don't have linux desktop machine to test against alacrity on Linux

Could you try switching import to that fork and see if it solves the issue?

@zapashcanon
Copy link
Author

It's on a recent alacritty (alacritty 0.7.0-dev (4975be2)) so that may be why you don't experience the error. I think it works on my other workstations with older alacritty.

Rather using the fork, switching to tcell may be the way to go (that's what's suggested in my previous link) ?

I'll try to use the fork instead but I don't know Go so I don't know if I'll succeed, I'll let you know.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants