jroimartin / gocui

Minimalist Go package aimed at creating Console User Interfaces.
BSD 3-Clause "New" or "Revised" License
9.92k stars 608 forks source link

Keybindings not working on FreeBSD #214

Closed miguelmota closed 4 years ago

miguelmota commented 4 years ago

I run the examples but pressing any of the keybindings doesn't have any effect. It doesn't let me quit either. I tested on a fresh install of FreeBSD using latest Go. Any idea?

mjarkk commented 4 years ago

We have a similar issue, https://github.com/jesseduffield/lazygit/issues/563
It seems like this only happens in the latest versions of go.

miguelmota commented 4 years ago

@mjarkk are you sure it's a go version issue? keybindings using the tcell library seem to work

miguelmota commented 4 years ago

gocui relies on termbox-go for keybindings. A fix just got merged on termbox-go which fixes keybindings on freebsd. Closing issue since it's resolved.