lazydocker/vendor/github.com/gdamore/tcell/v2/terminfo
Jesse Duffield 57379252a5 bump gocui
2022-11-09 21:21:35 +11:00
..
a update gocui 2022-05-10 22:11:21 +10:00
b/beterm update gocui 2022-05-10 22:11:21 +10:00
base update gocui 2022-05-10 22:11:21 +10:00
c/cygwin update gocui 2022-05-10 22:11:21 +10:00
d/dtterm update gocui 2022-05-10 22:11:21 +10:00
dynamic update gocui 2022-05-10 22:11:21 +10:00
e/emacs update gocui 2022-05-10 22:11:21 +10:00
extended update gocui 2022-05-10 22:11:21 +10:00
f/foot update gocui 2022-05-10 22:11:21 +10:00
g/gnome update gocui 2022-05-10 22:11:21 +10:00
h/hpterm update gocui 2022-05-10 22:11:21 +10:00
k update gocui 2022-05-10 22:11:21 +10:00
l/linux update gocui 2022-05-10 22:11:21 +10:00
p/pcansi update gocui 2022-05-10 22:11:21 +10:00
r/rxvt update gocui 2022-05-10 22:11:21 +10:00
s update gocui 2022-05-10 22:11:21 +10:00
t update gocui 2022-05-10 22:11:21 +10:00
v update gocui 2022-05-10 22:11:21 +10:00
w update gocui 2022-05-10 22:11:21 +10:00
x update gocui 2022-05-10 22:11:21 +10:00
.gitignore update gocui 2022-05-10 22:11:21 +10:00
gen.sh update gocui 2022-05-10 22:11:21 +10:00
models.txt update gocui 2022-05-10 22:11:21 +10:00
README.md update gocui 2022-05-10 22:11:21 +10:00
TERMINALS.md update gocui 2022-05-10 22:11:21 +10:00
terminfo.go bump gocui 2022-11-09 21:21:35 +11:00

This package represents the parent for all terminals.

In older versions of tcell we had (a couple of) different external file formats for the terminal database. Those are now removed. All terminal definitions are supplied by one of two methods:

  1. Compiled Go code

  2. For systems with terminfo and infocmp, dynamically generated at runtime.

The Go code can be generated using the mkinfo utility in this directory. The database entry should be generated into a package in a directory named as the first character of the package name. (This permits us to group them all without having a huge directory of little packages.)

It may be desirable to add new packages to the extended package, or -- rarely -- the base package.

Applications which want to have the large set of terminal descriptions built into the binary can simply import the extended package. Otherwise a smaller reasonable default set (the base package) will be included instead.