7ccb871a45
... and import stefanhaller's tcell fork for real rather than just replacing it This solves the problem that people trying to "go install github.com/jesseduffield/lazygit@latest" would get the error go: github.com/jesseduffield/lazygit@latest (in github.com/jesseduffield/lazygit@v0.40.0): The go.mod file for the module providing named packages contains one or more replace directives. It must not contain directives that would cause it to be interpreted differently than if it were the main module. |
||
---|---|---|
.. | ||
a | ||
b/beterm | ||
base | ||
c/cygwin | ||
d/dtterm | ||
dynamic | ||
e/emacs | ||
extended | ||
f/foot | ||
g/gnome | ||
h/hpterm | ||
k | ||
l/linux | ||
p/pcansi | ||
r/rxvt | ||
s | ||
t | ||
v | ||
w | ||
x | ||
.gitignore | ||
gen.sh | ||
models.txt | ||
README.md | ||
TERMINALS.md | ||
terminfo.go |
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:
-
Compiled Go code
-
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.