plugeth/Godeps/_workspace/src/github.com/nsf/termbox-go
2015-11-24 19:49:08 +02:00
..
api_common.go Godeps: remove mist remnants, add termui deps 2015-06-24 18:40:18 +03:00
api_windows.go Makefile: add support for iOS cross compilation 2015-11-24 17:24:43 +02:00
api.go Makefile: add support for iOS cross compilation 2015-11-24 17:24:43 +02:00
AUTHORS Godeps: remove mist remnants, add termui deps 2015-06-24 18:40:18 +03:00
collect_terminfo.py Godeps: remove mist remnants, add termui deps 2015-06-24 18:40:18 +03:00
LICENSE Godeps: remove mist remnants, add termui deps 2015-06-24 18:40:18 +03:00
README.md Makefile: add support for iOS cross compilation 2015-11-24 17:24:43 +02:00
syscalls_darwin_amd64.go Godeps: remove mist remnants, add termui deps 2015-06-24 18:40:18 +03:00
syscalls_darwin.go Makefile: support library build modes 2015-11-24 19:49:08 +02:00
syscalls_freebsd.go Godeps: remove mist remnants, add termui deps 2015-06-24 18:40:18 +03:00
syscalls_linux.go Godeps: remove mist remnants, add termui deps 2015-06-24 18:40:18 +03:00
syscalls_netbsd.go Godeps: remove mist remnants, add termui deps 2015-06-24 18:40:18 +03:00
syscalls_openbsd.go Godeps: remove mist remnants, add termui deps 2015-06-24 18:40:18 +03:00
syscalls_windows.go Godeps: remove mist remnants, add termui deps 2015-06-24 18:40:18 +03:00
syscalls.go Godeps: remove mist remnants, add termui deps 2015-06-24 18:40:18 +03:00
termbox_common.go Godeps: remove mist remnants, add termui deps 2015-06-24 18:40:18 +03:00
termbox_windows.go Makefile: add support for iOS cross compilation 2015-11-24 17:24:43 +02:00
termbox.go Makefile: add support for iOS cross compilation 2015-11-24 17:24:43 +02:00
terminfo_builtin.go Godeps: remove mist remnants, add termui deps 2015-06-24 18:40:18 +03:00
terminfo.go Godeps: remove mist remnants, add termui deps 2015-06-24 18:40:18 +03:00

Termbox

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.

Installation

Install and update this go package with go get -u github.com/nsf/termbox-go

Examples

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:

  • godit is an emacsish lightweight text editor written using termbox.
  • gomatrix connects to The Matrix and displays its data streams in your terminal.
  • gotetris is an implementation of Tetris.
  • sokoban-go is an implementation of sokoban game.
  • hecate is a hex editor designed by Satan.
  • httopd is top for httpd logs.
  • mop is stock market tracker for hackers.
  • termui is a terminal dashboard.
  • termloop is a terminal game engine.
  • xterm-color-chart is a XTerm 256 color chart.

API reference

godoc.org/github.com/nsf/termbox-go