Commit Graph

5 Commits

Author SHA1 Message Date
Kyle Rooker 0a73312c3d Fix color issues in ncurses programs
Certain programs like `htop` have problems with the number
of color pairs which are specified by the Alacritty terminfo
file. 

By reducing the maximum number of color pairs to the value
which is specified by xterm-256color, these issues are
resolved.

This fixes #1862.
2018-12-12 14:12:59 +00:00
RunningDroid b41c6b736d Add statusline capabilities to Terminfo 2018-10-14 22:23:54 +00:00
Christian Duerr 2ef376bb72
Fix reset cursor terminfo escape
The reset cursor terminal escape sequnce specified in the terminfo file
was using xterm's `\E[2 q`. However this just resets the cursor to the
block cursor shape.

Since Alacritty supports the `\E[0 q` escape sequence for resetting the
cursor shape to the original shape specified in the configuration file,
the terminfo file has been altered to make use of this sequence instead.
2018-09-25 01:04:33 +00:00
Daniel Eklöf ec3a80427b Add standalone terminfo definition
This replaces the current definitions, which depend on the system's
'xterm-256color' terminfo definition with the `alacritty` and
`alacritty-direct` definitions.

The new definitions are completely standalone.

The default `TERM` value has been changed to be dynamically
set based on the definitions installed on the system. Alacritty will
try to use the `alacritty` definition first and fall back to
`xterm-256color` if the `alacritty` definition is not present.
2018-09-24 19:06:12 +00:00
cac04 7223d44cb2 Add terminfo file supporting true color, italics 2017-05-27 19:55:43 -07:00