Felix Lange 2c4455b12a vendor: update dependencies with github.com/kardianos/govendor | 7 年之前 | |
---|---|---|
.. | ||
AUTHORS | 8 年之前 | |
LICENSE | 8 年之前 | |
README.md | 7 年之前 | |
api.go | 8 年之前 | |
api_common.go | 8 年之前 | |
api_windows.go | 8 年之前 | |
collect_terminfo.py | 8 年之前 | |
syscalls.go | 8 年之前 | |
syscalls_darwin.go | 8 年之前 | |
syscalls_darwin_amd64.go | 8 年之前 | |
syscalls_dragonfly.go | 8 年之前 | |
syscalls_freebsd.go | 8 年之前 | |
syscalls_linux.go | 8 年之前 | |
syscalls_netbsd.go | 8 年之前 | |
syscalls_openbsd.go | 8 年之前 | |
syscalls_windows.go | 8 年之前 | |
termbox.go | 8 年之前 | |
termbox_common.go | 8 年之前 | |
termbox_windows.go | 8 年之前 | |
terminfo.go | 8 年之前 | |
terminfo_builtin.go | 8 年之前 |
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: