|
il y a 8 ans | |
---|---|---|
.. | ||
AUTHORS | il y a 8 ans | |
LICENSE | il y a 8 ans | |
README.md | il y a 8 ans | |
api.go | il y a 8 ans | |
api_common.go | il y a 8 ans | |
api_windows.go | il y a 8 ans | |
collect_terminfo.py | il y a 8 ans | |
syscalls.go | il y a 8 ans | |
syscalls_darwin.go | il y a 8 ans | |
syscalls_darwin_amd64.go | il y a 8 ans | |
syscalls_dragonfly.go | il y a 8 ans | |
syscalls_freebsd.go | il y a 8 ans | |
syscalls_linux.go | il y a 8 ans | |
syscalls_netbsd.go | il y a 8 ans | |
syscalls_openbsd.go | il y a 8 ans | |
syscalls_windows.go | il y a 8 ans | |
termbox.go | il y a 8 ans | |
termbox_common.go | il y a 8 ans | |
termbox_windows.go | il y a 8 ans | |
terminfo.go | il y a 8 ans | |
terminfo_builtin.go | il y a 8 ans |
Termbox is a library that provides a minimalistic API which allows the programmer to write text-based user interfaces. The library is crossplatform and has both terminal-based implementations on *nix operating systems and a winapi console based implementation for windows operating systems. The basic idea is an abstraction of the greatest common subset of features available on all major terminals and other terminal-like APIs in a minimalistic fashion. Small API means it is easy to implement, test, maintain and learn it, that's what makes the termbox a distinct library in its area.
Install and update this go package with go get -u github.com/nsf/termbox-go
For examples of what can be done take a look at demos in the _demos directory. You can try them with go run: go run _demos/keyboard.go
There are also some interesting projects using termbox-go: