tcell/terminfo
Garrett D'Amore 80a58b9089 fixes #462 Console resizing
This supports both terminfo (Linux, macOS) terminals, and
the legacy Windows console.  Perversely, the "modern" Windows
terminal doesn't support application initiated resizing yet.
2022-04-23 09:50:07 -07:00
..
a Fix for writing in last column of last line for automargin terminals. 2021-05-18 23:17:00 -07:00
b/beterm Fix for writing in last column of last line for automargin terminals. 2021-05-18 23:17:00 -07:00
base Version 2.0 work in progress. 2020-08-25 16:20:58 -07:00
c/cygwin Fix for writing in last column of last line for automargin terminals. 2021-05-18 23:17:00 -07:00
d/dtterm Fix for writing in last column of last line for automargin terminals. 2021-05-18 23:17:00 -07:00
dynamic fixes #420 RFE: Mouse wheel only reporting 2021-01-24 15:18:06 -08:00
e/emacs Fix for writing in last column of last line for automargin terminals. 2021-05-18 23:17:00 -07:00
extended Add support for the foot terminal 2021-06-05 05:29:41 -07:00
f/foot Add “foot-extra” as a terminfo alias for “foot” (#506) 2021-12-14 06:41:17 -08:00
g/gnome Fix for writing in last column of last line for automargin terminals. 2021-05-18 23:17:00 -07:00
h/hpterm Fix for writing in last column of last line for automargin terminals. 2021-05-18 23:17:00 -07:00
k Fix for writing in last column of last line for automargin terminals. 2021-05-18 23:17:00 -07:00
l/linux Fix for writing in last column of last line for automargin terminals. 2021-05-18 23:17:00 -07:00
p/pcansi Fix for writing in last column of last line for automargin terminals. 2021-05-18 23:17:00 -07:00
r/rxvt Fix for writing in last column of last line for automargin terminals. 2021-05-18 23:17:00 -07:00
s Make sun-color 256 color by default, and just drop the sun-256color. 2021-06-01 20:43:32 -07:00
t fixes #521 tmux-256color missing from bundled terminfo 2022-04-02 14:50:25 -07:00
v Fix for writing in last column of last line for automargin terminals. 2021-05-18 23:17:00 -07:00
w Fix for writing in last column of last line for automargin terminals. 2021-05-18 23:17:00 -07:00
x Add xterm-direct, which gives 24-bit color. 2021-06-01 14:36:48 -07:00
.gitignore fixes #167 Break up the database 2017-11-24 13:13:06 -08:00
README.md Update README for new mkinfo 2019-07-29 22:47:04 -07:00
TERMINALS.md fixes #167 Break up the database 2017-11-24 13:13:06 -08:00
gen.sh fixes #252 database cannot be distributed in static binary 2019-07-23 19:39:55 -07:00
mkinfo.go fixes #356 Vim cursors shapes? 2021-09-28 20:05:18 -07:00
models.txt Sun terminal color fixes. 2021-05-31 17:59:55 -07:00
terminfo.go fixes #462 Console resizing 2022-04-23 09:50:07 -07:00
terminfo_test.go fixes #300 Implement terminal hyperlinks 2022-04-16 10:57:21 -07:00

README.md

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.