tcell/terminfo
Garrett D'Amore 1fb8cfe768 feature: underline styles
This supports now curly, double, dashed, and dotted underline styles
where trhe terminal supports it.  This works well on Windows Terminal,
reasonably on iTerm2, Alacritty, Kitty, and probably others.

The wasm mode terminal includes support for this, dependent on the browser
capabilities.

The macOS Terminal just changes the background color.  Legacy Windows
console does nothing.

We will try to provide a regular underscore as a fallback.  A new style.go
demo is included to see some style combinations.
2024-03-03 19:04:45 -08:00
..
a feature: underline styles 2024-03-03 19:04:45 -08:00
b/beterm
base
c/cygwin
d/dtterm
dynamic
e/emacs
extended
f/foot
g/gnome feature: underline styles 2024-03-03 19:04:45 -08:00
h/hpterm
k feature: underline styles 2024-03-03 19:04:45 -08:00
l/linux
p/pcansi
r/rxvt feature: underline styles 2024-03-03 19:04:45 -08:00
s feature: underline styles 2024-03-03 19:04:45 -08:00
t/tmux feature: underline styles 2024-03-03 19:04:45 -08:00
v
w
x feature: underline styles 2024-03-03 19:04:45 -08:00
.gitignore
README.md
TERMINALS.md
gen.sh
mkinfo.go feature: underline styles 2024-03-03 19:04:45 -08:00
models.txt
terminfo.go feature: underline styles 2024-03-03 19:04:45 -08:00
terminfo_test.go

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.