diff options
| author | Peter Delevoryas <peter@pjd.dev> | 2024-12-02 00:06:29 -0800 |
|---|---|---|
| committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2024-12-03 11:21:34 +0000 |
| commit | bc8e2f73f864e7ad471bfd37fb2e3cd302c8fa58 (patch) | |
| tree | 7311c767ba4510064c3367aaba70c85de67e52f6 | |
| parent | e7a7d07dfd1cc22ad6883cfb0ffcd3984d70d096 (diff) | |
| download | poky-bc8e2f73f864e7ad471bfd37fb2e3cd302c8fa58.tar.gz | |
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>
| -rw-r--r-- | meta/recipes-core/ncurses/ncurses.inc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/recipes-core/ncurses/ncurses.inc b/meta/recipes-core/ncurses/ncurses.inc index f5e37b94da..e96ee075bd 100644 --- a/meta/recipes-core/ncurses/ncurses.inc +++ b/meta/recipes-core/ncurses/ncurses.inc | |||
| @@ -179,7 +179,7 @@ do_install() { | |||
| 179 | 179 | ||
| 180 | # include some basic terminfo files | 180 | # include some basic terminfo files |
| 181 | # stolen ;) from gentoo and modified a bit | 181 | # stolen ;) from gentoo and modified a bit |
| 182 | for x in ansi console dumb linux rxvt screen screen-256color sun vt52 vt100 vt102 vt200 vt220 xterm-color xterm-xfree86 xterm-256color | 182 | for x in alacritty ansi console dumb linux rxvt screen screen-256color sun vt52 vt100 vt102 vt200 vt220 xterm-color xterm-xfree86 xterm-256color |
| 183 | do | 183 | do |
| 184 | local termfile="$(find "${D}${datadir}/terminfo/" -name "${x}" 2>/dev/null)" | 184 | local termfile="$(find "${D}${datadir}/terminfo/" -name "${x}" 2>/dev/null)" |
| 185 | local basedir="$(basename $(dirname "${termfile}"))" | 185 | local basedir="$(basename $(dirname "${termfile}"))" |
