aboutsummaryrefslogtreecommitdiff
path: root/scripts/update_terminfo.sh
diff options
context:
space:
mode:
authorzeertzjq <zeertzjq@outlook.com>2024-03-28 10:23:07 +0800
committerGitHub <noreply@github.com>2024-03-28 10:23:07 +0800
commit981301d11f83f5e9b7425cd383e59bbe0d7afdd5 (patch)
tree33a60f2ea08b038f0ccbbffcdf6720acb94f80cc /scripts/update_terminfo.sh
parenta89ce89742db600665b69e58d5e1bc3dbee9d57b (diff)
downloadrneovim-981301d11f83f5e9b7425cd383e59bbe0d7afdd5.tar.gz
rneovim-981301d11f83f5e9b7425cd383e59bbe0d7afdd5.tar.bz2
rneovim-981301d11f83f5e9b7425cd383e59bbe0d7afdd5.zip
build(terminfo): include user capabilities in comments (#28066)
Add -x flag to infocmp, so that comments match the content.
Diffstat (limited to 'scripts/update_terminfo.sh')
-rwxr-xr-xscripts/update_terminfo.sh2
1 files changed, 1 insertions, 1 deletions
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 ' ' ','