mirror of
https://github.com/flatcar/scripts.git
synced 2025-09-25 23:51:07 +02:00
sys-libs/ncurses: Install tmux terminfo
Debian tmux seems to set TERM=tmux-256color, not TERM=screen. This causes issues when ssh-ing into flatcar from tmux. Copy the screen terminfo files as the tmux ones, they should be mostly compatible. Tmux terminfo files are removed because of USE=minimal, but I don't see a way to hook into the ebuild and prevent the removal easily. Signed-off-by: Jeremi Piotrowski <jpiotrowski@microsoft.com>
This commit is contained in:
parent
e5867917ec
commit
47b77cea07
5
sdk_container/src/third_party/coreos-overlay/coreos/config/env/sys-libs/ncurses
vendored
Normal file
5
sdk_container/src/third_party/coreos-overlay/coreos/config/env/sys-libs/ncurses
vendored
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
cros_post_src_install_tmux_terminfo() {
|
||||||
|
mkdir -p "${ED}/usr/share/terminfo/t"
|
||||||
|
cp "${ED}/usr/share/terminfo/"{s/screen,t/tmux}
|
||||||
|
cp "${ED}/usr/share/terminfo/"{s/screen-256color,t/tmux-256color}
|
||||||
|
}
|
Loading…
x
Reference in New Issue
Block a user