| 1 |
This package represents the parent for all terminals. |
| 2 |
|
| 3 |
In older versions of tcell we had (a couple of) different |
| 4 |
external file formats for the terminal database. Those are |
| 5 |
now removed. All terminal definitions are supplied by |
| 6 |
one of two methods: |
| 7 |
|
| 8 |
1. Compiled Go code |
| 9 |
|
| 10 |
2. For systems with terminfo and infocmp, dynamically |
| 11 |
generated at runtime. |
| 12 |
|
| 13 |
The Go code can be generated using the mkinfo utility in |
| 14 |
this directory. The database entry should be generated |
| 15 |
into a package in a directory named as the first character |
| 16 |
of the package name. (This permits us to group them all |
| 17 |
without having a huge directory of little packages.) |
| 18 |
|
| 19 |
It may be desirable to add new packages to the extended |
| 20 |
package, or -- rarely -- the base package. |
| 21 |
|
| 22 |
Applications which want to have the large set of terminal |
| 23 |
descriptions built into the binary can simply import the |
| 24 |
extended package. Otherwise a smaller reasonable default |
| 25 |
set (the base package) will be included instead. |