mirror of
https://git.yoctoproject.org/poky
synced 2026-05-09 17:39:31 +00:00
ncurses: Add alacritty terminfo
This installs alacritty terminal info alongside other terminal emulator information. ``` $ ls /usr/share/terminfo/a alacritty ansi ansi80x25 ansis aterm ``` Alacritty is a relatively popular new terminal emulator. Without this, users need to use workarounds like `export TERM=xterm` to get terminal escape sequences to work (most of alacritty matches xterm/etc). Some true-color features do not work correctly with `TERM=xterm` though. (From OE-Core rev: 8ad986069f1d2e313b114efd54c73ff6f125d374) Signed-off-by: Peter Delevoryas <peter@pjd.dev> Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
e7a7d07dfd
commit
bc8e2f73f8
@@ -179,7 +179,7 @@ do_install() {
|
|||||||
|
|
||||||
# include some basic terminfo files
|
# include some basic terminfo files
|
||||||
# stolen ;) from gentoo and modified a bit
|
# stolen ;) from gentoo and modified a bit
|
||||||
for x in ansi console dumb linux rxvt screen screen-256color sun vt52 vt100 vt102 vt200 vt220 xterm-color xterm-xfree86 xterm-256color
|
for x in alacritty ansi console dumb linux rxvt screen screen-256color sun vt52 vt100 vt102 vt200 vt220 xterm-color xterm-xfree86 xterm-256color
|
||||||
do
|
do
|
||||||
local termfile="$(find "${D}${datadir}/terminfo/" -name "${x}" 2>/dev/null)"
|
local termfile="$(find "${D}${datadir}/terminfo/" -name "${x}" 2>/dev/null)"
|
||||||
local basedir="$(basename $(dirname "${termfile}"))"
|
local basedir="$(basename $(dirname "${termfile}"))"
|
||||||
|
|||||||
Reference in New Issue
Block a user