diff options
| author | Mitja Felicijan <mitja.felicijan@gmail.com> | 2026-01-21 20:22:09 +0100 |
|---|---|---|
| committer | Mitja Felicijan <mitja.felicijan@gmail.com> | 2026-01-21 20:22:09 +0100 |
| commit | 5a8dbc6347b3541e84fe669b22c17ad3b715e258 (patch) | |
| tree | b148c450939688caaaeb4adac6f2faa1eaffe649 /vendor/github.com/nsf/termbox-go/README.md | |
| download | qwe-editor-5a8dbc6347b3541e84fe669b22c17ad3b715e258.tar.gz | |
Engage!
Diffstat (limited to 'vendor/github.com/nsf/termbox-go/README.md')
| -rw-r--r-- | vendor/github.com/nsf/termbox-go/README.md | 46 |
1 files changed, 46 insertions, 0 deletions
diff --git a/vendor/github.com/nsf/termbox-go/README.md b/vendor/github.com/nsf/termbox-go/README.md new file mode 100644 index 0000000..72b5a29 --- /dev/null +++ b/vendor/github.com/nsf/termbox-go/README.md | |||
| @@ -0,0 +1,46 @@ | |||
| 1 | [](https://pkg.go.dev/github.com/nsf/termbox-go) | ||
| 2 |  | ||
| 3 | |||
| 4 | ## IMPORTANT | ||
| 5 | |||
| 6 | This library is somewhat not maintained anymore. But I'm glad that it did what I wanted the most. It moved people away from "ncurses" mindset and these days we see both re-implementations of termbox API in various languages and even possibly better libs with similar API design. If you're looking for a Go lib that provides terminal-based user interface facilities, I've heard that [gdamore/tcell](https://github.com/gdamore/tcell) is good (never used it myself). Also for more complicated interfaces and/or computer games I recommend you to consider using HTML-based UI. Having said that, termbox still somewhat works. In fact I'm writing this line of text right now in godit (which is a text editor written using termbox-go). So, be aware. Good luck and have a nice day. | ||
| 7 | |||
| 8 | ## Termbox | ||
| 9 | 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. | ||
| 10 | |||
| 11 | ### Installation | ||
| 12 | Install and update this go package with `go get -u github.com/nsf/termbox-go` | ||
| 13 | |||
| 14 | ### Examples | ||
| 15 | For examples of what can be done take a look at various examples in the `_demos` directory. You can try them with go run: `go run _demos/keyboard.go` | ||
| 16 | |||
| 17 | There are also some interesting projects using termbox-go: | ||
| 18 | - [godit](https://github.com/nsf/godit) is an emacsish lightweight text editor written using termbox. | ||
| 19 | - [gotetris](https://github.com/jjinux/gotetris) is an implementation of Tetris. | ||
| 20 | - [sokoban-go](https://github.com/rn2dy/sokoban-go) is an implementation of sokoban game. | ||
| 21 | - [hecate](https://github.com/evanmiller/hecate) is a hex editor designed by Satan. | ||
| 22 | - [httopd](https://github.com/verdverm/httopd) is top for httpd logs. | ||
| 23 | - [mop](https://github.com/mop-tracker/mop) is stock market tracker for hackers. | ||
| 24 | - [termui](https://github.com/gizak/termui) is a terminal dashboard. | ||
| 25 | - [termloop](https://github.com/JoelOtter/termloop) is a terminal game engine. | ||
| 26 | - [xterm-color-chart](https://github.com/kutuluk/xterm-color-chart) is a XTerm 256 color chart. | ||
| 27 | - [gocui](https://github.com/jroimartin/gocui) is a minimalist Go library aimed at creating console user interfaces. | ||
| 28 | - [dry](https://github.com/moncho/dry) is an interactive cli to manage Docker containers. | ||
| 29 | - [pxl](https://github.com/ichinaski/pxl) displays images in the terminal. | ||
| 30 | - [snake-game](https://github.com/DyegoCosta/snake-game) is an implementation of the Snake game. | ||
| 31 | - [gone](https://github.com/guillaumebreton/gone) is a CLI pomodoro® timer. | ||
| 32 | - [Spoof.go](https://github.com/sabey/spoofgo) controllable movement spoofing from the cli. | ||
| 33 | - [rat](https://github.com/ericfreese/rat) lets you compose shell commands to build terminal applications. | ||
| 34 | - [httplab](https://github.com/gchaincl/httplab) An interactive web server. | ||
| 35 | - [wot](https://github.com/kyu-suke/wot) Wait time during command is completed. | ||
| 36 | - [2048-go](https://github.com/1984weed/2048-go) is 2048 in Go. | ||
| 37 | - [jv](https://github.com/maxzender/jv) helps you view JSON on the command-line. | ||
| 38 | - [pinger](https://github.com/hirose31/pinger) helps you to monitor numerous hosts using ICMP ECHO_REQUEST. | ||
| 39 | - [vixl44](https://github.com/sebashwa/vixl44) lets you create pixel art inside your terminal using vim movements. | ||
| 40 | - [zterm](https://github.com/varunrau/zterm) is a typing game inspired by http://zty.pe/. | ||
| 41 | - [gotypist](https://github.com/pb-/gotypist) is a fun touch-typing tutor following Steve Yegge's method. | ||
| 42 | - [cointop](https://github.com/miguelmota/cointop) is an interactive terminal based UI application for tracking cryptocurrencies. | ||
| 43 | - [pexpo](https://github.com/nnao45/pexpo) is a terminal sending ping tool written in Go. | ||
| 44 | - [jid](https://github.com/simeji/jid) is an interactive JSON drill down tool using filtering queries like jq. | ||
| 45 | - [nonograminGo](https://github.com/N0RM4L15T/nonograminGo) is a nonogram (aka. picross) in Go. | ||
| 46 | - [tower-of-go](https://github.com/kjirou/tower-of-go) is a tiny maze game that runs on the terminal. | ||
