From 981301d11f83f5e9b7425cd383e59bbe0d7afdd5 Mon Sep 17 00:00:00 2001 From: zeertzjq Date: Thu, 28 Mar 2024 10:23:07 +0800 Subject: build(terminfo): include user capabilities in comments (#28066) Add -x flag to infocmp, so that comments match the content. --- scripts/update_terminfo.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'scripts') diff --git a/scripts/update_terminfo.sh b/scripts/update_terminfo.sh index e12365ba8f..34525dec32 100755 --- a/scripts/update_terminfo.sh +++ b/scripts/update_terminfo.sh @@ -77,7 +77,7 @@ for term in $sorted_terms; do continue fi printf '\n' - infocmp -L -1 -A "$db" "$term" | sed -e '1d' -e 's#^#// #' | tr '\t' ' ' + infocmp -L -x -1 -A "$db" "$term" | sed -e '1d' -e 's#^#// #' | tr '\t' ' ' printf 'static const int8_t %s[] = {\n' "${entries[$term]}" printf ' ' od -v -t d1 < "$path" | cut -c9- | xargs | tr ' ' ',' -- cgit