terminfo compilation

This commit is contained in:
pvincent
2026-08-10 09:12:00 +04:00
parent 8d89999b00
commit 1b084b068b
+8
View File
@@ -90,6 +90,13 @@ function in_azerty_zone {
return 1
}
function fix_terminfo_ghostty {
if ! infocmp xterm-ghostty >/dev/null; then
tic -x "$MIAOU_BASH_DIR"/assets/terminfo/ghostty
echo 'terminfo ghostty compiled'
fi
}
# MAIN
[ "$UID" -ne 0 ] && echo 'root privilege required' && exit 1
@@ -99,3 +106,4 @@ DISTRO_LIKE=$(fetch_distro_like)
required_packages
no_more_skeleton
link_config_files
fix_terminfo_ghostty