1
0
mirror of https://github.com/jesseduffield/lazygit.git synced 2024-12-14 11:23:09 +02:00
lazygit/vendor/github.com/jesseduffield/termbox-go
Jesse Duffield d5db02a899 bump gocui to be on 'simple' branch.
The master branch of gocui contains stuff I added for lazynpm which changes how
the cursor is used. This will provide some benefits to lazygit as well but I
don't yet have the motivation to make the required changed in lazygit to support it.

So we're gonna be on the branch named 'simple' rather than master until I fix that up.
2020-05-13 21:24:25 +10:00
..
api_common.go bump gocui to be on 'simple' branch. 2020-05-13 21:24:25 +10:00
api_windows.go bump deps to use forked termbox which doesn't crash as easily 2018-09-19 20:16:22 +10:00
api.go bump gocui to be on 'simple' branch. 2020-05-13 21:24:25 +10:00
AUTHORS bump deps to use forked termbox which doesn't crash as easily 2018-09-19 20:16:22 +10:00
collect_terminfo.py switch to Go modules 2019-09-01 21:24:03 +10:00
escwait_darwin.go bump deps to use forked termbox which doesn't crash as easily 2018-09-19 20:16:22 +10:00
escwait.go bump deps to use forked termbox which doesn't crash as easily 2018-09-19 20:16:22 +10:00
LICENSE bump deps to use forked termbox which doesn't crash as easily 2018-09-19 20:16:22 +10:00
README.md switch to Go modules 2019-09-01 21:24:03 +10:00
syscalls_darwin_amd64.go bump deps to use forked termbox which doesn't crash as easily 2018-09-19 20:16:22 +10:00
syscalls_darwin.go bump deps to use forked termbox which doesn't crash as easily 2018-09-19 20:16:22 +10:00
syscalls_dragonfly.go bump deps to use forked termbox which doesn't crash as easily 2018-09-19 20:16:22 +10:00
syscalls_freebsd.go bump deps to use forked termbox which doesn't crash as easily 2018-09-19 20:16:22 +10:00
syscalls_linux.go bump deps to use forked termbox which doesn't crash as easily 2018-09-19 20:16:22 +10:00
syscalls_netbsd.go bump deps to use forked termbox which doesn't crash as easily 2018-09-19 20:16:22 +10:00
syscalls_openbsd.go bump deps to use forked termbox which doesn't crash as easily 2018-09-19 20:16:22 +10:00
syscalls_windows.go bump deps to use forked termbox which doesn't crash as easily 2018-09-19 20:16:22 +10:00
termbox_common.go bump deps to use forked termbox which doesn't crash as easily 2018-09-19 20:16:22 +10:00
termbox_windows.go bump deps to use forked termbox which doesn't crash as easily 2018-09-19 20:16:22 +10:00
termbox.go bump gocui to be on 'simple' branch. 2020-05-13 21:24:25 +10:00
terminfo_builtin.go bump deps to use forked termbox which doesn't crash as easily 2018-09-19 20:16:22 +10:00
terminfo.go bump deps to use forked termbox which doesn't crash as easily 2018-09-19 20:16:22 +10:00

GoDoc

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.
  • 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.
  • gocui is a minimalist Go library aimed at creating console user interfaces.
  • dry is an interactive cli to manage Docker containers.
  • pxl displays images in the terminal.
  • snake-game is an implementation of the Snake game.
  • gone is a CLI pomodoro® timer.
  • Spoof.go controllable movement spoofing from the cli
  • lf is a terminal file manager
  • rat lets you compose shell commands to build terminal applications.
  • httplab An interactive web server.
  • tetris Go Tetris with AI option
  • wot Wait time during command is completed.
  • 2048-go is 2048 in Go
  • jv helps you view JSON on the command-line.
  • pinger helps you to monitor numerous hosts using ICMP ECHO_REQUEST.
  • vixl44 lets you create pixel art inside your terminal using vim movements
  • zterm is a typing game inspired by http://zty.pe/
  • gotypist is a fun touch-typing tutor following Steve Yegge's method.
  • cointop is an interactive terminal based UI application for tracking cryptocurrencies.
  • pexpo is a terminal sending ping tool written in Go.
  • jid is an interactive JSON drill down tool using filtering queries like jq.

API reference

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