Name | Date | Size | #Lines | LOC | ||
---|---|---|---|---|---|---|
.. | 03-May-2022 | - | ||||
_demos/ | H | 27-Oct-2018 | - | |||
AUTHORS | H A D | 27-Oct-2018 | 101 | |||
LICENSE | H A D | 27-Oct-2018 | 1 KiB | |||
README.md | H A D | 27-Oct-2018 | 3.7 KiB | |||
api.go | H A D | 27-Oct-2018 | 12.7 KiB | |||
api_common.go | H A D | 27-Oct-2018 | 4.3 KiB | |||
api_windows.go | H A D | 27-Oct-2018 | 6 KiB | |||
collect_terminfo.py | H A D | 27-Oct-2018 | 2 KiB | |||
escwait.go | H A D | 27-Oct-2018 | 373 | |||
escwait_darwin.go | H A D | 27-Oct-2018 | 329 | |||
syscalls.go | H A D | 27-Oct-2018 | 773 | |||
syscalls_darwin.go | H A D | 27-Oct-2018 | 753 | |||
syscalls_darwin_amd64.go | H A D | 27-Oct-2018 | 775 | |||
syscalls_dragonfly.go | H A D | 27-Oct-2018 | 735 | |||
syscalls_freebsd.go | H A D | 27-Oct-2018 | 735 | |||
syscalls_linux.go | H A D | 27-Oct-2018 | 828 | |||
syscalls_netbsd.go | H A D | 27-Oct-2018 | 733 | |||
syscalls_openbsd.go | H A D | 27-Oct-2018 | 733 | |||
syscalls_windows.go | H A D | 27-Oct-2018 | 1.5 KiB | |||
termbox.go | H A D | 27-Oct-2018 | 11.3 KiB | |||
termbox_common.go | H A D | 27-Oct-2018 | 994 | |||
termbox_windows.go | H A D | 27-Oct-2018 | 21.9 KiB | |||
terminfo.go | H A D | 27-Oct-2018 | 5.6 KiB | |||
terminfo_builtin.go | H A D | 27-Oct-2018 | 3.3 KiB |
README.md
1[![GoDoc](https://godoc.org/github.com/nsf/termbox-go?status.svg)](http://godoc.org/github.com/nsf/termbox-go) 2 3## Termbox 4Termbox 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. 5 6### Installation 7Install and update this go package with `go get -u github.com/nsf/termbox-go` 8 9### Examples 10For 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` 11 12There are also some interesting projects using termbox-go: 13 - [godit](https://github.com/nsf/godit) is an emacsish lightweight text editor written using termbox. 14 - [gotetris](https://github.com/jjinux/gotetris) is an implementation of Tetris. 15 - [sokoban-go](https://github.com/rn2dy/sokoban-go) is an implementation of sokoban game. 16 - [hecate](https://github.com/evanmiller/hecate) is a hex editor designed by Satan. 17 - [httopd](https://github.com/verdverm/httopd) is top for httpd logs. 18 - [mop](https://github.com/mop-tracker/mop) is stock market tracker for hackers. 19 - [termui](https://github.com/gizak/termui) is a terminal dashboard. 20 - [termloop](https://github.com/JoelOtter/termloop) is a terminal game engine. 21 - [xterm-color-chart](https://github.com/kutuluk/xterm-color-chart) is a XTerm 256 color chart. 22 - [gocui](https://github.com/jroimartin/gocui) is a minimalist Go library aimed at creating console user interfaces. 23 - [dry](https://github.com/moncho/dry) is an interactive cli to manage Docker containers. 24 - [pxl](https://github.com/ichinaski/pxl) displays images in the terminal. 25 - [snake-game](https://github.com/DyegoCosta/snake-game) is an implementation of the Snake game. 26 - [gone](https://github.com/guillaumebreton/gone) is a CLI pomodoro® timer. 27 - [Spoof.go](https://github.com/sabey/spoofgo) controllable movement spoofing from the cli 28 - [lf](https://github.com/gokcehan/lf) is a terminal file manager 29 - [rat](https://github.com/ericfreese/rat) lets you compose shell commands to build terminal applications. 30 - [httplab](https://github.com/gchaincl/httplab) An interactive web server. 31 - [tetris](https://github.com/MichaelS11/tetris) Go Tetris with AI option 32 - [wot](https://github.com/kyu-suke/wot) Wait time during command is completed. 33 - [2048-go](https://github.com/1984weed/2048-go) is 2048 in Go 34 - [jv](https://github.com/maxzender/jv) helps you view JSON on the command-line. 35 - [pinger](https://github.com/hirose31/pinger) helps you to monitor numerous hosts using ICMP ECHO_REQUEST. 36 - [vixl44](https://github.com/sebashwa/vixl44) lets you create pixel art inside your terminal using vim movements 37 - [zterm](https://github.com/varunrau/zterm) is a typing game inspired by http://zty.pe/ 38 - [gotypist](https://github.com/pb-/gotypist) is a fun touch-typing tutor following Steve Yegge's method. 39 - [cointop](https://github.com/miguelmota/cointop) is an interactive terminal based UI application for tracking cryptocurrencies. 40 - [pexpo](https://github.com/nnao45/pexpo) is a terminal sending ping tool written in Go. 41 - [jid](https://github.com/simeji/jid) is an interactive JSON drill down tool using filtering queries like jq. 42 43### API reference 44[godoc.org/github.com/nsf/termbox-go](http://godoc.org/github.com/nsf/termbox-go) 45